/external/openssl/crypto/rsa/ |
rsa_pmeth.c | 89 const EVP_MD *mgf1md; member in struct:__anon7900 106 rctx->mgf1md = NULL; 179 if (rctx->mgf1md && !(rctx->mgf1md->flags & EVP_MD_FLAG_FIPS)) 216 rctx->mgf1md, 263 rctx->md, rctx->mgf1md, 365 rctx->mgf1md, 389 rctx->md, rctx->mgf1md, 554 if (rctx->mgf1md) 555 *(const EVP_MD **)p2 = rctx->mgf1md; [all...] |
rsa_ameth.c | 466 const EVP_MD *mgf1md = NULL, *md = NULL; local 497 mgf1md = EVP_get_digestbyobj(maskHash->algorithm); 498 if (mgf1md == NULL) 505 mgf1md = EVP_sha1(); 555 if (EVP_PKEY_CTX_set_rsa_mgf1_md(pkctx, mgf1md) <= 0) 579 const EVP_MD *sigmd, *mgf1md; local 586 if (EVP_PKEY_CTX_get_rsa_mgf1_md(pkctx, &mgf1md) <= 0) 616 if (EVP_MD_type(mgf1md) != NID_sha1) 621 X509_ALGOR_set_md(mgf1alg, mgf1md);
|
/external/chromium_org/third_party/boringssl/src/crypto/evp/ |
p_rsa.c | 79 const EVP_MD *mgf1md; member in struct:__anon16256 124 dctx->mgf1md = sctx->mgf1md; 209 rctx->mgf1md, rctx->saltlen) || 241 !RSA_verify_PKCS1_PSS_mgf1(rsa, tbs, rctx->md, rctx->mgf1md, 283 rctx->md, rctx->mgf1md) || 323 rctx->oaep_labellen, rctx->md, rctx->mgf1md); 447 if (rctx->mgf1md) { 448 *(const EVP_MD **)p2 = rctx->mgf1md; 453 rctx->mgf1md = p2 [all...] |
p_rsa_asn1.c | 459 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { 464 if (EVP_MD_type(mgf1md) == NID_sha1) { 468 if (!rsa_md_to_algor(&algtmp, mgf1md) || 529 const EVP_MD *sigmd, *mgf1md; local 536 EVP_PKEY_CTX_get_rsa_mgf1_md(pkctx, &mgf1md) <= 0 || 566 !rsa_md_to_mgf1(&pss->maskGenAlgorithm, mgf1md)) { 593 const EVP_MD *mgf1md = NULL, *md = NULL; local 609 mgf1md = rsa_mgf1_to_md(pss->maskGenAlgorithm, maskHash); 610 if (!mgf1md) { 654 EVP_PKEY_CTX_set_rsa_mgf1_md(pkctx, mgf1md) <= 0) [all...] |