Home
last modified time | relevance | path

Searched refs:EVP_MD_is_a (Results 1 – 25 of 29) sorted by relevance

12

/openssl/test/
H A Dnamemap_internal_test.c162 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 Devp_fetch_prov_test.c171 && TEST_true(EVP_MD_is_a(md, "SHA256")) in test_md()
/openssl/ssl/record/methods/
H A Dssl3_cbc.c170 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 Dktls_meth.c64 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 Dsshkdf.c138 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 Dtls1_prf.c215 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 Dhkdf.c751 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 Dsskdf.c492 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 Dhmac_s390x.c27 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 Dx_algor.c147 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 Ddigest_to_nid.c31 if (EVP_MD_is_a(md, it[i].ptr)) in ossl_digest_md_to_nid()
/openssl/crypto/rsa/
H A Drsa_schemes.c67 return EVP_MD_is_a(md, name); in md_is_a()
/openssl/providers/implementations/signature/
H A Drsa_sig.c195 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 Dsm2_sig.c110 || !EVP_MD_is_a(psm2ctx->md, mdname)) { in sm2sig_set_mdname()
H A Ddsa_sig.c201 && !EVP_MD_is_a(md, ctx->mdname)) { in dsa_setup_md()
H A Decdsa_sig.c227 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in ecdsa_setup_md()
/openssl/crypto/ess/
H A Dess_lib.c187 if (!EVP_MD_is_a(hash_alg, SN_sha256)) { in ESS_CERT_ID_V2_new_init()
/openssl/crypto/ts/
H A Dts_rsp_sign.c462 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 Dx_all.c503 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 Dcms_sd.c412 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 DEVP_DigestInit.pod16 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 Ddrbg.c999 if (EVP_MD_is_a(md, allowed_digests[i])) in digest_allowed()
/openssl/crypto/evp/
H A Devp_lib.c736 int EVP_MD_is_a(const EVP_MD *md, const char *name) in EVP_MD_is_a() function
/openssl/apps/
H A Dlist.c215 if (select_name != NULL && !EVP_MD_is_a(m, select_name)) in list_digests()
/openssl/ssl/statem/
H A Dextensions_srvr.c1213 if (!EVP_MD_is_a(md, in tls_parse_ctos_psk()

Completed in 84 milliseconds

12