Home
last modified time | relevance | path

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

1234

/third_party/openssl/providers/implementations/asymciphers/
Drsa_enc.c165 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_encrypt()
251 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_decrypt()
450 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, mdname, mdprops); in rsa_set_ctx_params()
491 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA1", mdprops); in rsa_set_ctx_params()
515 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()
Devp_extra_test2.c499 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
507 || !TEST_ptr(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
517 || !TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
533 || !TEST_ptr(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective()
552 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective()
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()
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()
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()
255 value explicitly fetched with EVP_MD_fetch().
267 value explicitly fetched with EVP_MD_fetch().
326 EVP_sha256() rather than the result of an EVP_MD_fetch()), only cipher
383 where explicit fetch is in use (see L<EVP_MD_fetch(3)>) the value returned from
424 OpenSSL prior to version 3 and is different to the EVP_MD_fetch() function
433 implementation is available. Use EVP_MD_fetch() instead to explicitly fetch
560 =item EVP_MD_fetch()
[all …]
/third_party/openssl/doc/man7/
Dcrypto.pod132 C<APINAME> is the name of the operation. For example L<EVP_MD_fetch(3)> can
165 call to L<EVP_MD_fetch(3)>.
221 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", NULL);
234 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", "provider=default");
241 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", "provider!=default");
248 EVP_MD *md = EVP_MD_fetch(ctx, "SHA2-256", "provider=default");
258 EVP_MD *md = EVP_MD_fetch(NULL, "WHIRLPOOL", "provider=legacy");
272 EVP_MD *md_whirlpool = EVP_MD_fetch(NULL, "whirlpool", NULL);
273 EVP_MD *md_sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL);
408 sha256 = EVP_MD_fetch(NULL, "SHA256", NULL);
/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()
Dv3_skid.c72 if ((md = EVP_MD_fetch(libctx, SN_sha1, propq)) == NULL) in ossl_x509_pubkey_hash()
/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()
Docsp_vfy.c209 if ((md = EVP_MD_fetch(x->libctx, SN_sha1, x->propq)) == NULL) in ocsp_find_signer_sk()
319 dgst = EVP_MD_fetch(NULL, name, NULL); in ocsp_match_issuerid()
/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/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()
DEVP_MD_demo.c101 message_digest = EVP_MD_fetch(library_context, in demonstrate_digest()
DEVP_MD_stdin.c57 message_digest = EVP_MD_fetch(library_context, in demonstrate_digest()
/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()
/third_party/openssl/crypto/asn1/
Da_digest.c76 fetched_md = EVP_MD_fetch(libctx, EVP_MD_get0_name(md), propq); in ossl_asn1_item_digest_ex()

1234