Home
last modified time | relevance | path

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

12345

/openssl/test/
H A 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()
H A Dprovider_internal_test.c112 || !TEST_ptr(md = EVP_MD_fetch(ctx, "SHA256", NULL))) in test_cache_flushes()
122 if (!TEST_ptr_null(md = EVP_MD_fetch(ctx, "SHA256", NULL))) { in test_cache_flushes()
H A Dthreadstest_fips.c23 if (!TEST_true(md = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in thread_fips_rand_fetch()
H A Dnodefltctxtest.c27 md = EVP_MD_fetch(ctx, "SHA2-256", NULL); in test_no_deflt_ctx_init()
H A Ddefltfips_test.c45 sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL); in test_is_fips_enabled()
H A Dprovider_status_test.c165 if (!TEST_ptr(fetch = EVP_MD_fetch(libctx, "SHA256", NULL))) in test_provider_status()
194 if (!TEST_ptr_null(fetch = EVP_MD_fetch(libctx, "SHA256", NULL))) in test_provider_status()
H A Dp_test.c152 EVP_MD *md4 = EVP_MD_fetch(ctx->libctx, "MD4", NULL); in p_get_params()
307 EVP_MD *sha256 = EVP_MD_fetch(ctx->libctx, "SHA2-256", NULL); in OSSL_provider_init()
H A Devp_extra_test2.c635 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
643 || !TEST_ptr(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
653 || !TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
669 || !TEST_ptr(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective()
688 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective()
1339 if (!TEST_ptr_null(md = EVP_MD_fetch(mainctx, "SHA256:BogusName", NULL))) { in evp_test_name_parsing()
H A Dprov_config_test.c38 sha256 = EVP_MD_fetch(ctx, "SHA2-256", NULL); in test_double_config()
/openssl/doc/man7/
H A Dossl-guide-libcrypto-introduction.pod106 call to L<EVP_MD_fetch(3)>.
154 =item L<EVP_MD_fetch(3)>
204 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", NULL);
217 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", "provider=default");
224 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", "provider!=default");
231 EVP_MD *md = EVP_MD_fetch(NULL, "SHA2-256", "provider=?fips");
238 EVP_MD *md = EVP_MD_fetch(libctx, "SHA2-256", "provider=default");
248 EVP_MD *md = EVP_MD_fetch(NULL, "WHIRLPOOL", "provider=legacy");
262 EVP_MD *md_whirlpool = EVP_MD_fetch(NULL, "whirlpool", NULL);
263 EVP_MD *md_sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL);
[all …]
/openssl/demos/signature/
H A Drsa_pss_direct.c58 md = EVP_MD_fetch(libctx, "SHA256", propq); in sign()
141 md = EVP_MD_fetch(libctx, "SHA256", propq); in verify()
/openssl/providers/implementations/asymciphers/
H A Drsa_enc.c189 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_encrypt()
277 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA-1", NULL); in rsa_decrypt()
494 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, mdname, mdprops); in rsa_set_ctx_params()
535 prsactx->oaep_md = EVP_MD_fetch(prsactx->libctx, "SHA1", mdprops); in rsa_set_ctx_params()
559 prsactx->mgf1_md = EVP_MD_fetch(prsactx->libctx, mdname, str); in rsa_set_ctx_params()
/openssl/demos/digest/
H A DEVP_MD_xof.c69 md = EVP_MD_fetch(libctx, "SHAKE256", propq); in main()
H A DBIO_f_md.c65 md = EVP_MD_fetch(library_context, "SHA3-512", NULL); in main()
H A DEVP_MD_demo.c101 message_digest = EVP_MD_fetch(library_context, in demonstrate_digest()
H A DEVP_MD_stdin.c57 message_digest = EVP_MD_fetch(library_context, in demonstrate_digest()
/openssl/crypto/asn1/
H A Da_digest.c74 fetched_md = EVP_MD_fetch(libctx, EVP_MD_get0_name(md), propq); in ossl_asn1_item_digest_ex()
/openssl/doc/man3/
H A DEVP_DigestInit.pod5 EVP_MD_fetch, EVP_MD_up_ref, EVP_MD_free,
36 EVP_MD *EVP_MD_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
157 =item EVP_MD_fetch()
269 value explicitly fetched with EVP_MD_fetch(). I<ctx> B<MUST NOT> be NULL.
281 value explicitly fetched with EVP_MD_fetch().
324 to avoid multiple EVP_MD_fetch() calls or if large amounts of data are to be
355 EVP_sha256() rather than the result of an EVP_MD_fetch()), only cipher
464 OpenSSL prior to version 3 and is different to the EVP_MD_fetch() function
473 implementation is available. Use EVP_MD_fetch() instead to explicitly fetch
619 =item EVP_MD_fetch()
[all …]
H A DEVP_sm3.pod31 L<EVP_MD_fetch(3)> with L<EVP_MD-SM3(7)> instead.
H A DEVP_md2.pod31 L<EVP_MD_fetch(3)> with L<EVP_MD-MD2(7)> instead.
H A DEVP_md4.pod32 L<EVP_MD_fetch(3)> with L<EVP_MD-MD4(7)> instead.
/openssl/crypto/ocsp/
H A 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()
/openssl/crypto/x509/
H A 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()
H A Dv3_skid.c72 if ((md = EVP_MD_fetch(libctx, SN_sha1, propq)) == NULL) in ossl_x509_pubkey_hash()
/openssl/crypto/evp/
H A 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()

Completed in 86 milliseconds

12345