/openssl/crypto/dsa/ |
H A D | dsa_pmeth.c | 151 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 D | ec_pmeth.c | 156 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 D | rsa_pmeth.c | 161 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 D | rsa_ameth.c | 434 *(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 D | rsa_backend.c | 612 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 D | p12_mutl.c | 216 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 D | e_ossltest.c | 227 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 D | e_dasync.c | 99 digest_nids[pos++] = EVP_MD_get_type(md); in dasync_digest_nids()
|
/openssl/crypto/asn1/ |
H A D | a_digest.c | 68 ENGINE *tmpeng = ENGINE_get_digest_engine(EVP_MD_get_type(md)); in ossl_asn1_item_digest_ex()
|
H A D | x_algor.c | 94 (void)X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_MD_get_type(md)), type, NULL); in X509_ALGOR_set_md()
|
/openssl/crypto/ocsp/ |
H A D | ocsp_lib.c | 58 if ((nid = EVP_MD_get_type(dgst)) == NID_undef) { in OCSP_cert_id_new()
|
/openssl/crypto/hmac/ |
H A D | hmac_s390x.c | 81 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 D | EVP_DigestInit.pod | 17 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 D | BIO_f_md.pod | 131 printf("%s digest", OBJ_nid2sn(EVP_MD_get_type(md)));
|
/openssl/crypto/cmp/ |
H A D | cmp_protect.c | 201 EVP_MD_get_type(ctx->pbm_owf), ctx->pbm_itercnt, in pbmac_algor()
|
H A D | cmp_ctx.c | 1021 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 D | evp_pbe.c | 242 md_nid = EVP_MD_get_type(md); in EVP_PBE_alg_add()
|
/openssl/crypto/cms/ |
H A D | cms_dh.c | 262 } else if (EVP_MD_get_type(kdf_md) != NID_sha1) in dh_cms_encrypt()
|
H A D | cms_ec.c | 325 if (!OBJ_find_sigid_by_algs(&kdf_nid, EVP_MD_get_type(kdf_md), ecdh_nid)) in ecdh_cms_encrypt()
|
/openssl/crypto/ |
H A D | core_namemap.c | 421 get_legacy_evp_names(0, EVP_MD_get_type(md), NULL, arg); in get_legacy_md_names()
|
/openssl/crypto/engine/ |
H A D | eng_openssl.c | 386 digest_nids[pos++] = EVP_MD_get_type(md); in test_digest_nids()
|
/openssl/providers/implementations/signature/ |
H A D | sm2_sig.c | 227 md_nid = EVP_MD_get_type(ctx->md); in sm2sig_digest_signverify_init()
|
/openssl/include/openssl/ |
H A D | evp.h | 537 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 D | pk7_lib.c | 366 if (!X509_ALGOR_set0(p7i->digest_alg, OBJ_nid2obj(EVP_MD_get_type(dgst)), in PKCS7_SIGNER_INFO_set()
|
/openssl/apps/ |
H A D | ts.c | 466 if ((algo->algorithm = OBJ_nid2obj(EVP_MD_get_type(md))) == NULL) in create_query()
|