Home
last modified time | relevance | path

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

12

/openssl/crypto/dsa/
H A Ddsa_pmeth.c151 if (EVP_MD_get_type((const EVP_MD *)p2) != NID_sha1 && in pkey_dsa_ctrl()
152 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha224 && in pkey_dsa_ctrl()
153 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha256) { in pkey_dsa_ctrl()
161 if (EVP_MD_get_type((const EVP_MD *)p2) != NID_sha1 && in pkey_dsa_ctrl()
162 EVP_MD_get_type((const EVP_MD *)p2) != NID_dsa && in pkey_dsa_ctrl()
164 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha224 && in pkey_dsa_ctrl()
165 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha256 && in pkey_dsa_ctrl()
166 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha384 && in pkey_dsa_ctrl()
167 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha512 && in pkey_dsa_ctrl()
168 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_224 && in pkey_dsa_ctrl()
[all …]
/openssl/crypto/ec/
H A Dec_pmeth.c156 type = EVP_MD_get_type(dctx->md); in pkey_ec_verify()
354 if (EVP_MD_get_type((const EVP_MD *)p2) != NID_sha1 && in pkey_ec_ctrl()
356 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha224 && in pkey_ec_ctrl()
357 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha256 && in pkey_ec_ctrl()
358 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha384 && in pkey_ec_ctrl()
359 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha512 && in pkey_ec_ctrl()
360 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_224 && in pkey_ec_ctrl()
361 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_256 && in pkey_ec_ctrl()
362 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_384 && in pkey_ec_ctrl()
363 EVP_MD_get_type((const EVP_MD *)p2) != NID_sha3_512 && in pkey_ec_ctrl()
[all …]
/openssl/crypto/rsa/
H A Drsa_pmeth.c161 if (EVP_MD_get_type(rctx->md) == NID_mdc2) { in pkey_rsa_sign()
180 rctx->tbuf[tbslen] = RSA_X931_hash_id(EVP_MD_get_type(rctx->md)); in pkey_rsa_sign()
185 ret = RSA_sign(EVP_MD_get_type(rctx->md), in pkey_rsa_sign()
234 if (rctx->tbuf[ret] != RSA_X931_hash_id(EVP_MD_get_type(rctx->md))) { in pkey_rsa_verifyrecover()
246 ret = ossl_rsa_verify(EVP_MD_get_type(rctx->md), in pkey_rsa_verifyrecover()
280 return RSA_verify(EVP_MD_get_type(rctx->md), tbs, tbslen, in pkey_rsa_verify()
405 mdnid = EVP_MD_get_type(md); in check_padding_md()
559 if (EVP_MD_get_type(rctx->md) == EVP_MD_get_type(p2)) in pkey_rsa_ctrl()
585 if (EVP_MD_get_type(rctx->mgf1md) == EVP_MD_get_type(p2)) in pkey_rsa_ctrl()
H A Drsa_ameth.c434 *(int *)arg2 = EVP_MD_get_type(md); in rsa_pkey_ctrl()
570 if (EVP_MD_get_type(md) != EVP_MD_get_type(checkmd)) { in ossl_rsa_pss_to_ctx()
742 mdnid = EVP_MD_get_type(md); in rsa_sig_info_set()
748 && mdnid == EVP_MD_get_type(mgf1md) in rsa_sig_info_set()
825 md_nid = EVP_MD_get_type(md); in rsa_int_export_to()
826 mgf1md_nid = EVP_MD_get_type(mgf1md); in rsa_int_export_to()
H A Drsa_backend.c612 md_nid = EVP_MD_get_type(md); in ossl_rsa_sync_to_pss_params_30()
613 mgf1md_nid = EVP_MD_get_type(mgf1md); in ossl_rsa_sync_to_pss_params_30()
/openssl/crypto/pkcs12/
H A Dp12_mutl.c216 md_nid = EVP_MD_get_type(md); in pkcs12_gen_mac()
433 return pkcs12_setup_mac(p12, iter, salt, saltlen, EVP_MD_get_type(md_type)); in PKCS12_setup_mac()
456 prf_md_nid = EVP_MD_get_type(md_type); in PKCS12_set_pbmac1_pbkdf2()
466 hmac_nid = ossl_md2hmacnid(EVP_MD_get_type(md_type)); in PKCS12_set_pbmac1_pbkdf2()
514 EVP_MD_get_type(md_type), prf_md_nid, in PKCS12_set_pbmac1_pbkdf2()
/openssl/engines/
H A De_ossltest.c227 digest_nids[pos++] = EVP_MD_get_type(md); in ossltest_digest_nids()
229 digest_nids[pos++] = EVP_MD_get_type(md); in ossltest_digest_nids()
231 digest_nids[pos++] = EVP_MD_get_type(md); in ossltest_digest_nids()
233 digest_nids[pos++] = EVP_MD_get_type(md); in ossltest_digest_nids()
235 digest_nids[pos++] = EVP_MD_get_type(md); in ossltest_digest_nids()
H A De_dasync.c99 digest_nids[pos++] = EVP_MD_get_type(md); in dasync_digest_nids()
/openssl/crypto/asn1/
H A Da_digest.c68 ENGINE *tmpeng = ENGINE_get_digest_engine(EVP_MD_get_type(md)); in ossl_asn1_item_digest_ex()
H A Dx_algor.c94 (void)X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_MD_get_type(md)), type, NULL); in X509_ALGOR_set_md()
/openssl/crypto/ocsp/
H A Docsp_lib.c58 if ((nid = EVP_MD_get_type(dgst)) == NID_undef) { in OCSP_cert_id_new()
/openssl/crypto/hmac/
H A Dhmac_s390x.c81 impl = ENGINE_get_digest_engine(EVP_MD_get_type(md)); in s390x_check_engine_used()
87 d = ENGINE_get_digest(impl, EVP_MD_get_type(md)); in s390x_check_engine_used()
/openssl/doc/man3/
H A DEVP_DigestInit.pod17 EVP_MD_names_do_all, EVP_MD_get0_provider, EVP_MD_get_type,
84 int EVP_MD_get_type(const EVP_MD *md);
112 #define EVP_MD_type EVP_MD_get_type
113 #define EVP_MD_nid EVP_MD_get_type
404 =item EVP_MD_get_type(),
408 when passed an B<EVP_MD> structure. For example, C<EVP_MD_get_type(EVP_sha1())>
663 =item EVP_MD_get_type(),
H A DBIO_f_md.pod131 printf("%s digest", OBJ_nid2sn(EVP_MD_get_type(md)));
/openssl/crypto/cmp/
H A Dcmp_protect.c201 EVP_MD_get_type(ctx->pbm_owf), ctx->pbm_itercnt, in pbmac_algor()
H A Dcmp_ctx.c1021 return EVP_MD_get_type(ctx->digest); in OSSL_CMP_CTX_get_option()
1023 return EVP_MD_get_type(ctx->pbm_owf); in OSSL_CMP_CTX_get_option()
/openssl/crypto/evp/
H A Devp_pbe.c242 md_nid = EVP_MD_get_type(md); in EVP_PBE_alg_add()
/openssl/crypto/cms/
H A Dcms_dh.c262 } else if (EVP_MD_get_type(kdf_md) != NID_sha1) in dh_cms_encrypt()
H A Dcms_ec.c325 if (!OBJ_find_sigid_by_algs(&kdf_nid, EVP_MD_get_type(kdf_md), ecdh_nid)) in ecdh_cms_encrypt()
/openssl/crypto/
H A Dcore_namemap.c421 get_legacy_evp_names(0, EVP_MD_get_type(md), NULL, arg); in get_legacy_md_names()
/openssl/crypto/engine/
H A Deng_openssl.c386 digest_nids[pos++] = EVP_MD_get_type(md); in test_digest_nids()
/openssl/providers/implementations/signature/
H A Dsm2_sig.c227 md_nid = EVP_MD_get_type(ctx->md); in sm2sig_digest_signverify_init()
/openssl/include/openssl/
H A Devp.h537 int EVP_MD_get_type(const EVP_MD *md);
538 # define EVP_MD_type EVP_MD_get_type
539 # define EVP_MD_nid EVP_MD_get_type
578 # define EVP_MD_CTX_get_type(e) EVP_MD_get_type(EVP_MD_CTX_get0_md(e))
/openssl/crypto/pkcs7/
H A Dpk7_lib.c366 if (!X509_ALGOR_set0(p7i->digest_alg, OBJ_nid2obj(EVP_MD_get_type(dgst)), in PKCS7_SIGNER_INFO_set()
/openssl/apps/
H A Dts.c466 if ((algo->algorithm = OBJ_nid2obj(EVP_MD_get_type(md))) == NULL) in create_query()

Completed in 63 milliseconds

12