Home
last modified time | relevance | path

Searched refs:evpmd (Results 1 – 4 of 4) sorted by relevance

/third_party/openssl/crypto/ffc/
Dffc_params_generate.c133 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()
339 if (!EVP_Digest(seed, seedlen, md, NULL, evpmd, NULL)) in generate_q_fips186_4()
386 static int generate_q_fips186_2(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd, in generate_q_fips186_2() argument
[all …]
/third_party/node/deps/openssl/openssl/crypto/ffc/
Dffc_params_generate.c133 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()
339 if (!EVP_Digest(seed, seedlen, md, NULL, evpmd, NULL)) in generate_q_fips186_4()
386 static int generate_q_fips186_2(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd, in generate_q_fips186_2() argument
[all …]
/third_party/openssl/apps/
Drehash.c100 static const EVP_MD *evpmd; variable
282 if (!X509_digest(x->x509, evpmd, digest, NULL)) { in do_file()
290 if (!X509_CRL_digest(x->crl, evpmd, digest, NULL)) { in do_file()
547 evpmd = EVP_sha1(); in rehash_main()
548 evpmdsize = EVP_MD_get_size(evpmd); in rehash_main()
/third_party/node/deps/openssl/openssl/apps/
Drehash.c100 static const EVP_MD *evpmd; variable
282 if (!X509_digest(x->x509, evpmd, digest, NULL)) { in do_file()
290 if (!X509_CRL_digest(x->crl, evpmd, digest, NULL)) { in do_file()
547 evpmd = EVP_sha1(); in rehash_main()
548 evpmdsize = EVP_MD_get_size(evpmd); in rehash_main()