Lines Matching refs:evpmd
133 const EVP_MD *evpmd, BIGNUM *g, BIGNUM *tmp, in generate_canonical_g() argument
143 mdsize = EVP_MD_get_size(evpmd); in generate_canonical_g()
168 if (!EVP_DigestInit_ex(mctx, evpmd, NULL) in generate_canonical_g()
191 static int generate_p(BN_CTX *ctx, const EVP_MD *evpmd, int max_counter, int n, in generate_p() argument
214 mdsize = EVP_MD_get_size(evpmd); in generate_p()
244 if (!EVP_Digest(buf, buf_len, md, NULL, evpmd, NULL) in generate_p()
313 static int generate_q_fips186_4(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd, in generate_q_fips186_4() argument
321 int mdsize = EVP_MD_get_size(evpmd); in generate_q_fips186_4()
342 if (!EVP_Digest(seed, seedlen, md, NULL, evpmd, NULL)) in generate_q_fips186_4()
389 static int generate_q_fips186_2(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd, in generate_q_fips186_2() argument
419 if (!EVP_Digest(seed, qsize, md, NULL, evpmd, NULL)) in generate_q_fips186_2()
421 if (!EVP_Digest(buf, qsize, buf2, NULL, evpmd, NULL)) in generate_q_fips186_2()