Home
last modified time | relevance | path

Searched refs:EVP_MD_fetch (Results 1 – 25 of 159) sorted by relevance

1234567

/third_party/openssl/providers/implementations/asymciphers/
Drsa_enc.c164 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_encrypt()
253 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_decrypt()
452 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, mdname, mdprops); in rsa_set_ctx_params()
493 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA1", mdprops); in rsa_set_ctx_params()
517 prsactx->mgf1_md = EVP_MD_fetch(prsactx->libctx, mdname, str); in rsa_set_ctx_params()
/third_party/node/deps/openssl/openssl/providers/implementations/asymciphers/
Drsa_enc.c164 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_encrypt()
253 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_decrypt()
452 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, mdname, mdprops); in rsa_set_ctx_params()
493 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA1", mdprops); in rsa_set_ctx_params()
517 prsactx->mgf1_md = EVP_MD_fetch(prsactx->libctx, mdname, str); in rsa_set_ctx_params()
/third_party/openssl/test/
Duser_property_test.c109 if (!TEST_ptr(testprovmd = EVP_MD_fetch(libctx, "testprovmd", NULL))) in test_default_props_and_providers()
116 if (!TEST_ptr(testprovmd = EVP_MD_fetch(libctx, "testprovmd", NULL))) in test_default_props_and_providers()
Dprovider_internal_test.c110 || !TEST_ptr(md = EVP_MD_fetch(ctx, "SHA256", NULL))) in test_cache_flushes()
120 if (!TEST_ptr_null(md = EVP_MD_fetch(ctx, "SHA256", NULL))) { in test_cache_flushes()
Dprovider_status_test.c162 if (!TEST_ptr(fetch = EVP_MD_fetch(libctx, "SHA256", NULL))) in test_provider_status()
181 if (!TEST_ptr_null(fetch = EVP_MD_fetch(libctx, "SHA256", NULL))) in test_provider_status()
Dp_test.c138 EVP_MD *md4 = EVP_MD_fetch(ctx->libctx, "MD4", NULL); in p_get_params()
290 EVP_MD *sha256 = EVP_MD_fetch(ctx->libctx, "SHA2-256", NULL); in OSSL_provider_init()
Dthreadstest_fips.c23 if (!TEST_true(md = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in thread_fips_rand_fetch()
Dnodefltctxtest.c27 md = EVP_MD_fetch(ctx, "SHA2-256", NULL); in test_no_deflt_ctx_init()
Dprov_config_test.c36 sha256 = EVP_MD_fetch(ctx, "SHA2-256", NULL); in test_double_config()
Dthreadstest.c311 EVP_MD *md = EVP_MD_fetch(multi_libctx, "SHA2-256", NULL); in thread_general_worker()
378 EVP_MD *md = EVP_MD_fetch(multi_libctx, "SHA2-256", NULL); in thread_multi_simple_fetch()
525 sha256 = EVP_MD_fetch(multi_libctx, "SHA2-256", NULL); in test_multi()
Devp_extra_test2.c545 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
553 || !TEST_ptr(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
563 || !TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
579 || !TEST_ptr(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective()
598 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective()
Ddefltfips_test.c45 sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL); in test_is_fips_enabled()
/third_party/openssl/demos/signature/
Drsa_pss_direct.c58 md = EVP_MD_fetch(libctx, "SHA256", propq); in sign()
141 md = EVP_MD_fetch(libctx, "SHA256", propq); in verify()
/third_party/rust/crates/rust-openssl/openssl/src/
Dmd.rs96 #[corresponds(EVP_MD_fetch)]
107 let ptr = cvt_p(ffi::EVP_MD_fetch( in fetch()
/third_party/openssl/doc/man3/
DEVP_DigestInit.pod5 EVP_MD_fetch, EVP_MD_up_ref, EVP_MD_free,
34 EVP_MD *EVP_MD_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
142 =item EVP_MD_fetch()
252 value explicitly fetched with EVP_MD_fetch().
264 value explicitly fetched with EVP_MD_fetch().
323 EVP_sha256() rather than the result of an EVP_MD_fetch()), only cipher
380 where explicit fetch is in use (see L<EVP_MD_fetch(3)>) the value returned from
421 OpenSSL prior to version 3 and is different to the EVP_MD_fetch() function
430 implementation is available. Use EVP_MD_fetch() instead to explicitly fetch
557 =item EVP_MD_fetch()
[all …]
/third_party/openssl/doc/man7/
Dcrypto.pod133 C<APINAME> is the name of the operation. For example L<EVP_MD_fetch(3)> can
166 call to L<EVP_MD_fetch(3)>.
241 =item L<EVP_MD_fetch(3)>
285 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", NULL);
298 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", "provider=default");
305 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", "provider!=default");
312 EVP_MD *md = EVP_MD_fetch(ctx, "SHA2-256", "provider=default");
322 EVP_MD *md = EVP_MD_fetch(NULL, "WHIRLPOOL", "provider=legacy");
336 EVP_MD *md_whirlpool = EVP_MD_fetch(NULL, "whirlpool", NULL);
337 EVP_MD *md_sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL);
[all …]
/third_party/openssl/crypto/x509/
Dx509_cmp.c50 digest = EVP_MD_fetch(a->libctx, SN_md5, a->propq); in X509_issuer_and_serial_hash()
294 EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in X509_NAME_hash_ex()
319 EVP_MD *md5 = EVP_MD_fetch(NULL, OSSL_DIGEST_NAME_MD5, "-fips"); in X509_NAME_hash_old()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dx509_cmp.c50 digest = EVP_MD_fetch(a->libctx, SN_md5, a->propq); in X509_issuer_and_serial_hash()
294 EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in X509_NAME_hash_ex()
320 EVP_MD *md5 = EVP_MD_fetch(NULL, OSSL_DIGEST_NAME_MD5, "-fips"); in X509_NAME_hash_old()
/third_party/openssl/crypto/ocsp/
Docsp_srv.c251 EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in OCSP_RESPID_set_by_key_ex()
295 sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in OCSP_RESPID_match_ex()
/third_party/node/deps/openssl/openssl/crypto/ocsp/
Docsp_srv.c251 EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in OCSP_RESPID_set_by_key_ex()
295 sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in OCSP_RESPID_match_ex()
/third_party/openssl/crypto/evp/
Dp5_crpt2.c99 if ((digest = EVP_MD_fetch(NULL, SN_sha1, NULL)) != NULL) in PKCS5_PBKDF2_HMAC_SHA1()
234 prfmd = prfmd_fetch = EVP_MD_fetch(libctx, OBJ_nid2sn(hmac_md_nid), propq); in PKCS5_v2_PBKDF2_keyivgen_ex()
/third_party/node/deps/openssl/openssl/crypto/evp/
Dp5_crpt2.c99 if ((digest = EVP_MD_fetch(NULL, SN_sha1, NULL)) != NULL) in PKCS5_PBKDF2_HMAC_SHA1()
235 prfmd = prfmd_fetch = EVP_MD_fetch(libctx, OBJ_nid2sn(hmac_md_nid), propq); in PKCS5_v2_PBKDF2_keyivgen_ex()
/third_party/openssl/demos/digest/
DEVP_MD_xof.c69 md = EVP_MD_fetch(libctx, "SHAKE256", propq); in main()
DBIO_f_md.c66 md = EVP_MD_fetch( library_context, "SHA3-512", NULL ); in main()
/third_party/openssl/crypto/ffc/
Dffc_params_generate.c537 md = EVP_MD_fetch(libctx, params->mdname, params->mdprops); in ossl_ffc_params_FIPS186_4_gen_verify()
546 md = EVP_MD_fetch(libctx, def_name, params->mdprops); in ossl_ffc_params_FIPS186_4_gen_verify()
832 md = EVP_MD_fetch(libctx, params->mdname, params->mdprops); in ossl_ffc_params_FIPS186_2_gen_verify()
841 md = EVP_MD_fetch(libctx, def_name, params->mdprops); in ossl_ffc_params_FIPS186_2_gen_verify()

1234567