Home
last modified time | relevance | path

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

/netbsd/crypto/external/bsd/openssl/dist/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.c150 && TEST_true(EVP_MD_is_a(md, "SHA256")) in test_md()
H A Devp_extra_test.c2086 if (!TEST_true(EVP_MD_is_a(check_md, mdnames[i]))) { in test_EVP_SM2()
/netbsd/crypto/external/bsd/openssl/dist/ssl/
H A Ds3_cbc.c202 if (EVP_MD_is_a(md, "MD5")) { in ssl3_cbc_digest_record()
215 } else if (EVP_MD_is_a(md, "SHA1")) { in ssl3_cbc_digest_record()
222 } else if (EVP_MD_is_a(md, "SHA2-224")) { in ssl3_cbc_digest_record()
229 } else if (EVP_MD_is_a(md, "SHA2-256")) { in ssl3_cbc_digest_record()
236 } else if (EVP_MD_is_a(md, "SHA2-384")) { in ssl3_cbc_digest_record()
245 } else if (EVP_MD_is_a(md, "SHA2-512")) { in ssl3_cbc_digest_record()
H A Ds3_lib.c4307 && EVP_MD_is_a(md, OSSL_DIGEST_NAME_SHA2_256)) { in ssl3_choose_cipher()
/netbsd/crypto/external/bsd/openssl/dist/crypto/asn1/
H A Dx_algor.c135 if (md == NULL || EVP_MD_is_a(md, "SHA1")) in ossl_x509_algor_new_from_md()
172 if (mgf1md == NULL || EVP_MD_is_a(mgf1md, "SHA1")) in ossl_x509_algor_md_to_mgf1()
/netbsd/crypto/external/bsd/openssl/dist/providers/common/
H A Ddigest_to_nid.c31 if (EVP_MD_is_a(md, it[i].ptr)) in ossl_digest_md_to_nid()
/netbsd/crypto/external/bsd/openssl/dist/crypto/rsa/
H A Drsa_schemes.c67 return EVP_MD_is_a(md, name); in md_is_a()
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/signature/
H A Drsa_sig.c141 if ((mdname != NULL && !EVP_MD_is_a(prsactx->md, mdname)) in rsa_check_padding()
143 && !EVP_MD_is_a(prsactx->mgf1_md, mgf1_mdname))) { in rsa_check_padding()
314 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in rsa_setup_md()
543 if (EVP_MD_is_a(prsactx->md, OSSL_DIGEST_NAME_MDC2)) { in rsa_sign()
H A Dsm2_sig.c105 || !EVP_MD_is_a(psm2ctx->md, mdname)) { in sm2sig_set_mdname()
H A Ddsa_sig.c149 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in dsa_setup_md()
H A Decdsa_sig.c251 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in ecdsa_setup_md()
/netbsd/crypto/external/bsd/openssl/dist/crypto/ess/
H A Dess_lib.c151 if (!EVP_MD_is_a(hash_alg, SN_sha256)) { in ESS_CERT_ID_V2_new_init()
/netbsd/crypto/external/bsd/openssl/dist/crypto/ts/
H A Dts_rsp_sign.c468 if (EVP_MD_is_a(current_md, md_alg_name)) in ts_RESP_check_request()
735 || EVP_MD_is_a(ctx->ess_cert_id_digest, SN_sha1)) { in ts_RESP_sign()
/netbsd/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx_all.c458 if (EVP_MD_is_a(md, SN_sha1) && (cert->ex_flags & EXFLAG_SET) != 0 in X509_digest()
569 if (EVP_MD_is_a(type, SN_sha1) in X509_CRL_digest()
/netbsd/crypto/external/bsd/openssl/dist/crypto/cms/
H A Dcms_sd.c386 if (EVP_MD_is_a(md, name)) in CMS_add1_signer()
428 if (md == NULL || EVP_MD_is_a(md, SN_sha1)) { in CMS_add1_signer()
/netbsd/crypto/external/bsd/openssl/dist/doc/man3/
H A DEVP_DigestInit.pod15 EVP_MD_is_a, EVP_MD_get0_name, EVP_MD_get0_description,
75 int EVP_MD_is_a(const EVP_MD *md, const char *name);
317 =item EVP_MD_is_a()
/netbsd/crypto/external/bsd/openssl/dist/crypto/evp/
H A Devp_lib.c731 int EVP_MD_is_a(const EVP_MD *md, const char *name) in EVP_MD_is_a() function
/netbsd/crypto/external/bsd/openssl/dist/apps/
H A Dlist.c212 if (select_name != NULL && !EVP_MD_is_a(m, select_name)) in list_digests()
/netbsd/crypto/external/bsd/openssl/dist/ssl/statem/
H A Dextensions_srvr.c1167 if (!EVP_MD_is_a(md, in tls_parse_ctos_psk()
/netbsd/crypto/external/bsd/openssl/dist/include/openssl/
H A Devp.h537 int EVP_MD_is_a(const EVP_MD *md, const char *name);
/netbsd/crypto/external/bsd/openssl/lib/libcrypto/
H A Dcrypto.map1869 EVP_MD_is_a;
/netbsd/crypto/external/bsd/openssl/dist/util/
H A Dlibcrypto.num4785 EVP_MD_is_a 4913 3_0_0 EXIST::FUNCTION: