/openssl/test/ |
H A D | namemap_internal_test.c | 162 if (!TEST_true(EVP_MD_is_a(fetched, "SHA512")) in test_digest_is_a() 163 || !TEST_false(EVP_MD_is_a(fetched, "SHA1"))) in test_digest_is_a() 165 if (!TEST_true(EVP_MD_is_a(EVP_sha256(), "SHA2-256")) in test_digest_is_a() 166 || !TEST_false(EVP_MD_is_a(EVP_sha256(), "SHA3-256"))) in test_digest_is_a()
|
H A D | evp_fetch_prov_test.c | 171 && TEST_true(EVP_MD_is_a(md, "SHA256")) in test_md()
|
/openssl/ssl/record/methods/ |
H A D | ssl3_cbc.c | 170 if (EVP_MD_is_a(md, "MD5")) { in ssl3_cbc_digest_record() 183 } else if (EVP_MD_is_a(md, "SHA1")) { in ssl3_cbc_digest_record() 190 } else if (EVP_MD_is_a(md, "SHA2-224")) { in ssl3_cbc_digest_record() 197 } else if (EVP_MD_is_a(md, "SHA2-256")) { in ssl3_cbc_digest_record() 204 } else if (EVP_MD_is_a(md, "SHA2-384")) { in ssl3_cbc_digest_record() 213 } else if (EVP_MD_is_a(md, "SHA2-512")) { in ssl3_cbc_digest_record()
|
H A D | ktls_meth.c | 64 if (EVP_MD_is_a(md, "SHA1") in ktls_int_check_supported_cipher() 65 || EVP_MD_is_a(md, "SHA2-256") in ktls_int_check_supported_cipher() 66 || EVP_MD_is_a(md, "SHA2-384")) in ktls_int_check_supported_cipher() 96 if (EVP_MD_is_a(md, "SHA1")) in ktls_configure_crypto() 98 else if (EVP_MD_is_a(md, "SHA2-256")) in ktls_configure_crypto() 100 else if (EVP_MD_is_a(md, "SHA2-384")) in ktls_configure_crypto()
|
/openssl/providers/implementations/kdfs/ |
H A D | sshkdf.c | 138 int digest_unapproved = !EVP_MD_is_a(md, SN_sha1) in fips_digest_check_passed() 139 && !EVP_MD_is_a(md, SN_sha224) in fips_digest_check_passed() 140 && !EVP_MD_is_a(md, SN_sha256) in fips_digest_check_passed() 141 && !EVP_MD_is_a(md, SN_sha384) in fips_digest_check_passed() 142 && !EVP_MD_is_a(md, SN_sha512); in fips_digest_check_passed()
|
H A D | tls1_prf.c | 215 int digest_unapproved = !EVP_MD_is_a(md, SN_sha256) in fips_digest_check_passed() 216 && !EVP_MD_is_a(md, SN_sha384) in fips_digest_check_passed() 217 && !EVP_MD_is_a(md, SN_sha512); in fips_digest_check_passed()
|
H A D | hkdf.c | 751 int digest_unapproved = !EVP_MD_is_a(md, SN_sha256) in fips_tls1_3_digest_check_passed() 752 && !EVP_MD_is_a(md, SN_sha384); in fips_tls1_3_digest_check_passed()
|
H A D | sskdf.c | 492 int digest_unapproved = (ctx->is_kmac != 1) && EVP_MD_is_a(md, SN_sha1); in fips_x963kdf_digest_check_passed()
|
/openssl/crypto/hmac/ |
H A D | hmac_s390x.c | 27 if (EVP_MD_is_a(md, "SHA2-224")) in s390x_fc_from_md() 29 else if (EVP_MD_is_a(md, "SHA2-256")) in s390x_fc_from_md() 31 else if (EVP_MD_is_a(md, "SHA2-384")) in s390x_fc_from_md() 33 else if (EVP_MD_is_a(md, "SHA2-512")) in s390x_fc_from_md()
|
/openssl/crypto/asn1/ |
H A D | x_algor.c | 147 if (md == NULL || EVP_MD_is_a(md, "SHA1")) in ossl_x509_algor_new_from_md() 184 if (mgf1md == NULL || EVP_MD_is_a(mgf1md, "SHA1")) in ossl_x509_algor_md_to_mgf1()
|
/openssl/providers/common/ |
H A D | digest_to_nid.c | 31 if (EVP_MD_is_a(md, it[i].ptr)) in ossl_digest_md_to_nid()
|
/openssl/crypto/rsa/ |
H A D | rsa_schemes.c | 67 return EVP_MD_is_a(md, name); in md_is_a()
|
/openssl/providers/implementations/signature/ |
H A D | rsa_sig.c | 195 if ((mdname != NULL && !EVP_MD_is_a(prsactx->md, mdname)) in rsa_check_padding() 197 && !EVP_MD_is_a(prsactx->mgf1_md, mgf1_mdname))) { in rsa_check_padding() 429 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in rsa_setup_md() 705 if (EVP_MD_is_a(prsactx->md, OSSL_DIGEST_NAME_MDC2)) { in rsa_sign_directly()
|
H A D | sm2_sig.c | 110 || !EVP_MD_is_a(psm2ctx->md, mdname)) { in sm2sig_set_mdname()
|
H A D | dsa_sig.c | 201 && !EVP_MD_is_a(md, ctx->mdname)) { in dsa_setup_md()
|
H A D | ecdsa_sig.c | 227 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in ecdsa_setup_md()
|
/openssl/crypto/ess/ |
H A D | ess_lib.c | 187 if (!EVP_MD_is_a(hash_alg, SN_sha256)) { in ESS_CERT_ID_V2_new_init()
|
/openssl/crypto/ts/ |
H A D | ts_rsp_sign.c | 462 if (EVP_MD_is_a(current_md, md_alg_name)) in ts_RESP_check_request() 733 || EVP_MD_is_a(ctx->ess_cert_id_digest, SN_sha1)) { in ts_RESP_sign()
|
/openssl/crypto/x509/ |
H A D | x_all.c | 503 if (EVP_MD_is_a(md, SN_sha1) && (cert->ex_flags & EXFLAG_SET) != 0 in X509_digest() 614 if (EVP_MD_is_a(type, SN_sha1) in X509_CRL_digest()
|
/openssl/crypto/cms/ |
H A D | cms_sd.c | 412 if (EVP_MD_is_a(md, name)) in CMS_add1_signer() 464 if (md == NULL || EVP_MD_is_a(md, SN_sha1)) { in CMS_add1_signer()
|
/openssl/doc/man3/ |
H A D | EVP_DigestInit.pod | 16 EVP_MD_is_a, EVP_MD_get0_name, EVP_MD_get0_description, 79 int EVP_MD_is_a(const EVP_MD *md, const char *name); 349 =item EVP_MD_is_a()
|
/openssl/providers/implementations/rands/ |
H A D | drbg.c | 999 if (EVP_MD_is_a(md, allowed_digests[i])) in digest_allowed()
|
/openssl/crypto/evp/ |
H A D | evp_lib.c | 736 int EVP_MD_is_a(const EVP_MD *md, const char *name) in EVP_MD_is_a() function
|
/openssl/apps/ |
H A D | list.c | 215 if (select_name != NULL && !EVP_MD_is_a(m, select_name)) in list_digests()
|
/openssl/ssl/statem/ |
H A D | extensions_srvr.c | 1213 if (!EVP_MD_is_a(md, in tls_parse_ctos_psk()
|