/external/boringssl/src/crypto/evp/ |
p_rsa.c | 83 const EVP_MD *mgf1md; member in struct:__anon5820 128 dctx->mgf1md = sctx->mgf1md; 205 rctx->mgf1md, rctx->saltlen) || 237 !RSA_verify_PKCS1_PSS_mgf1(rsa, tbs, rctx->md, rctx->mgf1md, 279 rctx->md, rctx->mgf1md) || 319 rctx->oaep_labellen, rctx->md, rctx->mgf1md); 442 if (rctx->mgf1md) { 443 *(const EVP_MD **)p2 = rctx->mgf1md; 448 rctx->mgf1md = p2 [all...] |
p_rsa_asn1.c | 477 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { 482 if (EVP_MD_type(mgf1md) == NID_sha1) { 486 if (!rsa_md_to_algor(&algtmp, mgf1md) || 546 const EVP_MD *sigmd, *mgf1md; local 553 !EVP_PKEY_CTX_get_rsa_mgf1_md(pkctx, &mgf1md) || 583 !rsa_md_to_mgf1(&pss->maskGenAlgorithm, mgf1md)) { 610 const EVP_MD *mgf1md = NULL, *md = NULL; local 627 mgf1md = rsa_mgf1_to_md(pss->maskGenAlgorithm, maskHash); 628 if (!mgf1md) { 658 !EVP_PKEY_CTX_set_rsa_mgf1_md(pkctx, mgf1md)) { [all...] |
/external/boringssl/src/crypto/rsa/ |
padding.c | 325 const EVP_MD *md, const EVP_MD *mgf1md) { 334 if (mgf1md == NULL) { 335 mgf1md = md; 376 if (PKCS1_MGF1(dbmask, emlen - mdlen, seed, mdlen, mgf1md) < 0) { 383 if (PKCS1_MGF1(seedmask, mdlen, db, emlen - mdlen, mgf1md) < 0) { 399 const EVP_MD *md, const EVP_MD *mgf1md) { 407 if (mgf1md == NULL) { 408 mgf1md = md; 432 if (PKCS1_MGF1(seed, mdlen, maskeddb, dblen, mgf1md)) { 439 if (PKCS1_MGF1(db, dblen, seed, mdlen, mgf1md)) { [all...] |
internal.h | 125 const EVP_MD *md, const EVP_MD *mgf1md); 129 const EVP_MD *md, const EVP_MD *mgf1md);
|