Lines Matching refs:md
2681 const EVP_MD *md = hash_algo_to_md(saved_alloc.algo); in calculate_digest() local
2685 if (!ADBG_EXPECT_NOT_NULL(c, md)) in calculate_digest()
2687 sz = EVP_MD_size(md); in calculate_digest()
2692 if (EVP_Digest(data, data_length, buf, &sz, md, NULL)) { in calculate_digest()
3159 const EVP_MD *md = algo_to_md(algo); in rsa_sign_digest() local
3164 if (!ADBG_EXPECT_NOT_NULL(c, md)) in rsa_sign_digest()
3179 if (!RSA_sign(EVP_MD_nid(md), in_dgst->buffer, in_dgst->size, in rsa_sign_digest()
3192 md, md, in rsa_sign_digest()
3216 static bool rsa_verify_pss_digest(ADBG_Case_t *c, const EVP_MD *md, RSA *key, in rsa_verify_pss_digest() argument
3234 res = RSA_verify_PKCS1_PSS_mgf1(key, digest, md, md, buf, -2); in rsa_verify_pss_digest()
3249 const EVP_MD *md = algo_to_md(algo); in rsa_verify_digest() local
3253 if (!ADBG_EXPECT_NOT_NULL(c, md)) in rsa_verify_digest()
3261 res = RSA_verify(EVP_MD_nid(md), digest, digest_len, in rsa_verify_digest()
3266 res = rsa_verify_pss_digest(c, md, key, digest, in_sdgst); in rsa_verify_digest()