Lines Matching refs:mdsize
141 int mdsize; in generate_canonical_g() local
143 mdsize = EVP_MD_get_size(evpmd); in generate_canonical_g()
144 if (mdsize <= 0) in generate_canonical_g()
173 || (BN_bin2bn(md, mdsize, tmp) == NULL) in generate_canonical_g()
199 int mdsize; in generate_p() local
214 mdsize = EVP_MD_get_size(evpmd); in generate_p()
215 if (mdsize <= 0) in generate_p()
245 || (BN_bin2bn(md, mdsize, tmp) == NULL) in generate_p()
251 || !BN_lshift(tmp, tmp, (mdsize << 3) * j) in generate_p()
321 int mdsize = EVP_MD_get_size(evpmd); in generate_q_fips186_4() local
325 if (mdsize <= 0) in generate_q_fips186_4()
345 if (mdsize > qsize) in generate_q_fips186_4()
346 pmd = md + mdsize - qsize; in generate_q_fips186_4()
349 if (mdsize < qsize) in generate_q_fips186_4()
350 memset(md + mdsize, 0, qsize - mdsize); in generate_q_fips186_4()
523 int mdsize, counter = 0, pcounter = 0, r = 0; in ossl_ffc_params_FIPS186_4_gen_verify() local
553 mdsize = EVP_MD_get_size(md); in ossl_ffc_params_FIPS186_4_gen_verify()
554 if (mdsize <= 0) in ossl_ffc_params_FIPS186_4_gen_verify()
558 N = mdsize * 8; in ossl_ffc_params_FIPS186_4_gen_verify()
589 seedlen = (size_t)mdsize; in ossl_ffc_params_FIPS186_4_gen_verify()
679 n = (L - 1) / (mdsize << 3); in ossl_ffc_params_FIPS186_4_gen_verify()