Home
last modified time | relevance | path

Searched refs:EVP_sha256 (Results 1 – 25 of 75) sorted by relevance

123

/freebsd/crypto/openssl/doc/man3/
H A DEVP_sha224.pod6 EVP_sha256,
18 const EVP_MD *EVP_sha256(void);
32 EVP_sha256(),
H A DEVP_PKEY_verify.pod78 if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) <= 0)
/freebsd/crypto/openssl/test/
H A Dhmactest.c155 if (!TEST_false(HMAC_Init_ex(ctx, NULL, 0, EVP_sha256(), NULL))) in test_hmac_run()
158 if (!TEST_true(HMAC_Init_ex(ctx, test[5].key, test[5].key_len, EVP_sha256(), NULL)) in test_hmac_run()
159 || !TEST_ptr_eq(HMAC_CTX_get_md(ctx), EVP_sha256()) in test_hmac_run()
189 if (!TEST_true(HMAC_Init_ex(ctx, NULL, 0, EVP_sha256(), NULL)) in test_hmac_run()
H A Dpkey_meth_kdf_test.c34 if (EVP_PKEY_CTX_set_tls1_prf_md(pctx, EVP_sha256()) <= 0) { in test_kdf_tls1_prf()
96 if (EVP_PKEY_CTX_set_hkdf_md(pctx, EVP_sha256()) <= 0) { in test_kdf_hkdf()
H A Dnamemap_internal_test.c165 if (!TEST_true(EVP_MD_is_a(EVP_sha256(), "SHA2-256")) in test_digest_is_a()
166 || !TEST_false(EVP_MD_is_a(EVP_sha256(), "SHA3-256"))) in test_digest_is_a()
H A Dtls13secretstest.c157 return EVP_sha256(); in ssl_handshake_md()
198 return EVP_sha256(); in ssl_md()
H A Dossl_store_test.c67 EVP_sha256(), NULL, 0)); in test_store_search_by_key_fingerprint_fail()
H A Docspapitest.c90 cid = OCSP_cert_id_new(EVP_sha256(), name, key, serial); in make_dummy_resp()
H A Devp_extra_test.c1417 md = EVP_sha256(); in test_EVP_DigestSignInit()
1538 if (!TEST_true(EVP_DigestVerifyInit(md_ctx, NULL, EVP_sha256(), NULL, pkey)) in test_EVP_DigestVerifyInit()
2529 || !TEST_int_gt(EVP_PKEY_CTX_set_hkdf_md(pctx, EVP_sha256()), 0) in test_HKDF()
2571 || !TEST_int_gt(EVP_PKEY_CTX_set_hkdf_md(pctx, EVP_sha256()), 0) in test_emptyikm_HKDF()
2612 || !TEST_int_gt(EVP_PKEY_CTX_set_hkdf_md(pctx, EVP_sha256()), 0) in test_empty_salt_info_HKDF()
2764 if (!TEST_int_gt(EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()), 0) in test_EVP_PKEY_CTX_get_set_params()
2766 || !TEST_ptr_eq(md, EVP_sha256())) in test_EVP_PKEY_CTX_get_set_params()
4507 const EVP_MD *md = EVP_sha256(); in test_custom_pmeth()
4675 EVP_MD *md = EVP_MD_meth_dup(EVP_sha256()); in test_evp_md_cipher_meth()
4761 || !TEST_true(EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL)) in test_custom_md_meth()
[all …]
H A Drsa_test.c495 && TEST_ptr((md = EVP_sha256())) in test_EVP_rsa_legacy_key()
/freebsd/crypto/openssh/
H A Ddigest-openssl.c36 # define EVP_sha256 NULL macro
61 { SSH_DIGEST_SHA256, "SHA256", 32, EVP_sha256 },
/freebsd/contrib/unbound/
H A Dacx_nlnetlabs.m422 # 2020-08-24 Use EVP_sha256 instead of HMAC_Update (for openssl-3.0.0).
714 AC_MSG_CHECKING([for EVP_sha256 in -lcrypto])
718 int EVP_sha256(void);
719 (void)EVP_sha256();
723 [If you have EVP_sha256])
733 int EVP_sha256(void);
734 (void)EVP_sha256();
737 [If you have EVP_sha256])
748 int EVP_sha256(void);
749 (void)EVP_sha256();
[all …]
/freebsd/contrib/libfido2/src/
H A Decdh.c27 if ((md = EVP_sha256()) == NULL || in hkdf_sha256()
50 if ((const_md = EVP_sha256()) == NULL || in hkdf_sha256()
H A Drs256.c28 if ((from = EVP_sha256()) != NULL && (to = malloc(sizeof(*to))) != NULL) in rs256_get_EVP_MD()
57 if ((md = EVP_sha256()) == NULL) in rs256_get_EVP_MD()
/freebsd/crypto/openssl/crypto/evp/
H A Dc_alld.c39 EVP_add_digest(EVP_sha256()); in openssl_add_all_digests_int()
H A Dlegacy_sha.c131 const EVP_MD *EVP_sha256(void) in EVP_sha256() function
/freebsd/contrib/ldns/
H A Dacx_nlnetlabs.m413 # 2020-08-24 Use EVP_sha256 instead of HMAC_Update (for openssl-3.0.0).
684 AC_MSG_CHECKING([for EVP_sha256 in -lcrypto])
688 int EVP_sha256(void);
689 (void)EVP_sha256();
693 [If you have EVP_sha256])
703 int EVP_sha256(void);
704 (void)EVP_sha256();
707 [If you have EVP_sha256])
717 int EVP_sha256(void);
718 (void)EVP_sha256();
[all …]
/freebsd/contrib/libfido2/fuzz/
H A Dwrapped.sym64 EVP_sha256
/freebsd/contrib/netbsd-tests/lib/libc/hash/
H A Dt_hmac.c58 EVP_sha256(), in test()
/freebsd/crypto/openssl/engines/
H A De_ossltest.c619 return EVP_MD_meth_get_init(EVP_sha256())(ctx); in digest_sha256_init()
625 return EVP_MD_meth_get_update(EVP_sha256())(ctx, data, count); in digest_sha256_update()
630 int ret = EVP_MD_meth_get_final(EVP_sha256())(ctx, md); in digest_sha256_final()
/freebsd/contrib/unbound/validator/
H A Dval_secalgo.c153 if(!sldns_digest_evp(buf, len, res, EVP_sha256())) in secalgo_hash_sha256()
296 if(!sldns_digest_evp(buf, len, res, EVP_sha256())) in secalgo_ds_digest()
527 ecdsa_evp_256_md = *EVP_sha256(); in ecdsa_evp_workaround_init()
589 *digest_type = EVP_sha256(); in setup_key_digest()
642 *digest_type = EVP_sha256(); in setup_key_digest()
/freebsd/contrib/dma/
H A Dcrypto.c86 if(!X509_digest(cert, EVP_sha256(), fingerprint, &fingerprint_len)) { in verify_server_fingerprint()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dauditdistd.c344 if (HMAC(EVP_sha256(), adhost->adh_password, in listen_accept()
366 if (HMAC(EVP_sha256(), adhost->adh_password, in listen_accept()
H A Dsender.c230 if (HMAC(EVP_sha256(), adhost->adh_password, in sender_connect()
270 if (HMAC(EVP_sha256(), adhost->adh_password, in sender_connect()
/freebsd/crypto/openssl/apps/
H A Ddgst.c329 md = (EVP_MD *)EVP_sha256(); in dgst_main()
386 md = (EVP_MD *)EVP_sha256(); in dgst_main()

123