Symbol: sha256
crypto/libecc/include/libecc/hash/hash_algs.h
57
sha256_context sha256;
crypto/libecc/include/libecc/hash/sha256.h
76
ATTRIBUTE_WARN_UNUSED_RET int sha256(const u8 *input, u32 ilen, u8 output[SHA256_DIGEST_SIZE]);
crypto/openssl/crypto/ct/ct_log.c
80
EVP_MD *sha256 = NULL;
crypto/openssl/crypto/ct/ct_log.c
86
sha256 = EVP_MD_fetch(log->libctx, "SHA2-256", log->propq);
crypto/openssl/crypto/ct/ct_log.c
87
if (sha256 == NULL) {
crypto/openssl/crypto/ct/ct_log.c
92
ret = EVP_Digest(pkey_der, pkey_der_len, log->log_id, &len, sha256,
crypto/openssl/crypto/ct/ct_log.c
95
EVP_MD_free(sha256);
crypto/openssl/crypto/ct/ct_sct_ctx.c
207
EVP_MD *sha256 = EVP_MD_fetch(sctx->libctx, "SHA2-256", sctx->propq);
crypto/openssl/crypto/ct/ct_sct_ctx.c
209
if (sha256 == NULL)
crypto/openssl/crypto/ct/ct_sct_ctx.c
226
if (!EVP_Digest(der, der_len, md, &md_len, sha256, NULL))
crypto/openssl/crypto/ct/ct_sct_ctx.c
238
EVP_MD_free(sha256);
crypto/openssl/crypto/evp/legacy_sha.c
59
IMPLEMENT_LEGACY_EVP_MD_METH(sha256, SHA256)
crypto/openssl/crypto/rsa/rsa_sign.c
150
ENCODE_DIGESTINFO_SHA(sha256, 0x01, SHA256_DIGEST_LENGTH)
crypto/openssl/crypto/rsa/rsa_sign.c
191
MD_CASE(sha256)
crypto/openssl/crypto/rsa/rsa_sign.c
231
MD_NID_CASE(sha256, SHA256_DIGEST_LENGTH)
crypto/openssl/providers/common/der/der_dsa_sig.c
35
MD_CASE(sha256);
crypto/openssl/providers/common/der/der_ec_sig.c
36
MD_CASE(sha256);
crypto/openssl/providers/common/der/der_rsa_key.c
338
OAEP_PSS_MD_CASE(sha256, hashalg);
crypto/openssl/providers/common/der/der_rsa_sig.c
49
MD_with_RSA_CASE(sha256, precompiled);
crypto/openssl/providers/implementations/digests/sha2_prov.c
71
IMPLEMENT_digest_functions(sha256, SHA256_CTX,
crypto/openssl/providers/implementations/kdfs/scrypt.c
108
if (src->sha256 != NULL && !EVP_MD_up_ref(src->sha256))
crypto/openssl/providers/implementations/kdfs/scrypt.c
124
dest->sha256 = src->sha256;
crypto/openssl/providers/implementations/kdfs/scrypt.c
164
EVP_MD_free(ctx->sha256);
crypto/openssl/providers/implementations/kdfs/scrypt.c
165
ctx->sha256 = EVP_MD_fetch(ctx->libctx, "sha256", ctx->propq);
crypto/openssl/providers/implementations/kdfs/scrypt.c
166
if (ctx->sha256 == NULL) {
crypto/openssl/providers/implementations/kdfs/scrypt.c
203
if (ctx->sha256 == NULL && !set_digest(ctx))
crypto/openssl/providers/implementations/kdfs/scrypt.c
208
ctx->maxmem_bytes, key, keylen, ctx->sha256,
crypto/openssl/providers/implementations/kdfs/scrypt.c
40
unsigned char *key, size_t keylen, EVP_MD *sha256,
crypto/openssl/providers/implementations/kdfs/scrypt.c
447
unsigned char *key, size_t keylen, EVP_MD *sha256,
crypto/openssl/providers/implementations/kdfs/scrypt.c
53
EVP_MD *sha256;
crypto/openssl/providers/implementations/kdfs/scrypt.c
530
if (ossl_pkcs5_pbkdf2_hmac_ex(pass, passlen, salt, saltlen, 1, sha256,
crypto/openssl/providers/implementations/kdfs/scrypt.c
538
if (ossl_pkcs5_pbkdf2_hmac_ex(pass, passlen, B, (int)Blen, 1, sha256,
crypto/openssl/providers/implementations/kdfs/scrypt.c
84
EVP_MD_free(ctx->sha256);
crypto/openssl/providers/implementations/signature/dsa_sig.c
1083
IMPL_DSA_SIGALG(sha256, SHA2-256);
crypto/openssl/providers/implementations/signature/ecdsa_sig.c
1100
IMPL_ECDSA_SIGALG(sha256, SHA2-256);
crypto/openssl/providers/implementations/signature/rsa_sig.c
2148
IMPL_RSA_SIGALG(sha256, SHA2-256);
crypto/openssl/ssl/quic/quic_record_util.c
111
sha256,
crypto/openssl/ssl/quic/quic_record_util.c
124
sha256,
crypto/openssl/ssl/quic/quic_record_util.c
137
sha256,
crypto/openssl/ssl/quic/quic_record_util.c
150
sha256,
crypto/openssl/ssl/quic/quic_record_util.c
160
if (qrx != NULL && qtx != NULL && !EVP_MD_up_ref(sha256)) {
crypto/openssl/ssl/quic/quic_record_util.c
161
sha256 = NULL;
crypto/openssl/ssl/quic/quic_record_util.c
169
sha256,
crypto/openssl/ssl/quic/quic_record_util.c
177
EVP_MD_free(sha256);
crypto/openssl/ssl/quic/quic_record_util.c
92
EVP_MD *sha256;
crypto/openssl/ssl/quic/quic_record_util.c
98
if ((sha256 = EVP_MD_fetch(libctx, "SHA256", propq)) == NULL)
crypto/openssl/ssl/record/methods/ssl3_cbc.c
88
SHA256_CTX *sha256 = ctx;
crypto/openssl/ssl/record/methods/ssl3_cbc.c
92
l2n(sha256->h[i], md_out);
crypto/openssl/ssl/statem/statem_clnt.c
2734
EVP_MD *sha256 = NULL;
crypto/openssl/ssl/statem/statem_clnt.c
2845
sha256 = EVP_MD_fetch(sctx->libctx, "SHA2-256", sctx->propq);
crypto/openssl/ssl/statem/statem_clnt.c
2846
if (sha256 == NULL) {
crypto/openssl/ssl/statem/statem_clnt.c
2857
sha256, NULL)) {
crypto/openssl/ssl/statem/statem_clnt.c
2861
EVP_MD_free(sha256);
crypto/openssl/ssl/statem/statem_clnt.c
2862
sha256 = NULL;
crypto/openssl/ssl/statem/statem_clnt.c
2901
EVP_MD_free(sha256);
crypto/openssl/test/defltfips_test.c
21
EVP_MD *sha256 = NULL;
crypto/openssl/test/defltfips_test.c
45
sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL);
crypto/openssl/test/defltfips_test.c
47
if (!TEST_ptr_null(sha256)) {
crypto/openssl/test/defltfips_test.c
48
EVP_MD_free(sha256);
crypto/openssl/test/defltfips_test.c
52
if (!TEST_ptr(sha256))
crypto/openssl/test/defltfips_test.c
55
&& !TEST_str_eq(OSSL_PROVIDER_get0_name(EVP_MD_get0_provider(sha256)),
crypto/openssl/test/defltfips_test.c
57
EVP_MD_free(sha256);
crypto/openssl/test/defltfips_test.c
60
EVP_MD_free(sha256);
crypto/openssl/test/evp_extra_test.c
2157
EVP_MD *sha256 = NULL;
crypto/openssl/test/evp_extra_test.c
2163
if (!TEST_ptr(sha256 = EVP_MD_fetch(testctx, "sha256", testpropq))
crypto/openssl/test/evp_extra_test.c
2167
if (!TEST_true(EVP_DigestInit_ex(md_ctx, sha256, NULL))
crypto/openssl/test/evp_extra_test.c
2174
if (!TEST_true(EVP_DigestInit_ex(md_ctx, sha256, NULL))
crypto/openssl/test/evp_extra_test.c
2197
EVP_MD_free(sha256);
crypto/openssl/test/evp_extra_test.c
4875
EVP_MD *sha256 = NULL;
crypto/openssl/test/evp_extra_test.c
4881
&& TEST_ptr(sha256 = EVP_MD_fetch(testctx, "sha256", NULL))
crypto/openssl/test/evp_extra_test.c
4883
&& TEST_true(EVP_DigestSignInit(sha256_ctx, &pkey_ctx, sha256, NULL, pkey))
crypto/openssl/test/evp_extra_test.c
4891
EVP_MD_free(sha256);
crypto/openssl/test/evp_extra_test.c
4930
EVP_MD *sha256 = NULL;
crypto/openssl/test/evp_extra_test.c
4936
sha256 = EVP_MD_fetch(ctx, "SHA2-256", NULL);
crypto/openssl/test/evp_extra_test.c
4937
if (!TEST_ptr(sha256))
crypto/openssl/test/evp_extra_test.c
4944
if (!TEST_true(EVP_MD_names_do_all(sha256, md_names, ctx)))
crypto/openssl/test/evp_extra_test.c
4952
EVP_MD_free(sha256);
crypto/openssl/test/evp_extra_test2.c
708
EVP_MD *sha256;
crypto/openssl/test/evp_extra_test2.c
715
if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL)))
crypto/openssl/test/evp_extra_test2.c
723
|| !TEST_ptr(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL)))
crypto/openssl/test/evp_extra_test2.c
725
EVP_MD_free(sha256);
crypto/openssl/test/evp_extra_test2.c
726
sha256 = NULL;
crypto/openssl/test/evp_extra_test2.c
733
|| !TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL)))
crypto/openssl/test/evp_extra_test2.c
738
EVP_MD_free(sha256);
crypto/openssl/test/evp_extra_test2.c
744
EVP_MD *sha256 = NULL;
crypto/openssl/test/evp_extra_test2.c
749
|| !TEST_ptr(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL)))
crypto/openssl/test/evp_extra_test2.c
755
EVP_MD_free(sha256);
crypto/openssl/test/evp_extra_test2.c
756
sha256 = NULL;
crypto/openssl/test/evp_extra_test2.c
758
EVP_MD_free(sha256);
crypto/openssl/test/evp_extra_test2.c
759
sha256 = NULL;
crypto/openssl/test/evp_extra_test2.c
768
if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL)))
crypto/openssl/test/evp_extra_test2.c
773
EVP_MD_free(sha256);
crypto/openssl/test/ml_kem_evp_extra_test.c
224
EVP_MD *sha256;
crypto/openssl/test/ml_kem_evp_extra_test.c
231
if (!TEST_ptr(sha256 = EVP_MD_fetch(NULL, "sha256", NULL)))
crypto/openssl/test/ml_kem_evp_extra_test.c
328
hash, NULL, sha256, NULL))
crypto/openssl/test/ml_kem_evp_extra_test.c
401
EVP_MD_free(sha256);
crypto/openssl/test/ml_kem_internal_test.c
175
hash, NULL, sha256, NULL))
crypto/openssl/test/ml_kem_internal_test.c
241
EVP_MD_free(sha256);
crypto/openssl/test/ml_kem_internal_test.c
83
EVP_MD *sha256 = EVP_MD_fetch(NULL, "sha256", NULL);
crypto/openssl/test/ml_kem_internal_test.c
87
if (!TEST_ptr(sha256))
crypto/openssl/test/namemap_internal_test.c
81
const EVP_MD *sha256, *foo;
crypto/openssl/test/namemap_internal_test.c
91
sha256 = EVP_get_digestbyname("SHA256");
crypto/openssl/test/namemap_internal_test.c
92
if (!TEST_ptr(sha256))
crypto/openssl/test/namemap_internal_test.c
95
if (!TEST_ptr_eq(sha256, foo))
crypto/openssl/test/p_test.c
316
EVP_MD *sha256 = EVP_MD_fetch(ctx->libctx, "SHA2-256", NULL);
crypto/openssl/test/p_test.c
317
if (sha256 != NULL) {
crypto/openssl/test/p_test.c
318
EVP_MD_free(sha256);
crypto/openssl/test/prov_config_test.c
27
EVP_MD *sha256 = NULL;
crypto/openssl/test/prov_config_test.c
38
sha256 = EVP_MD_fetch(ctx, "SHA2-256", NULL);
crypto/openssl/test/prov_config_test.c
39
if (!TEST_ptr(sha256))
crypto/openssl/test/prov_config_test.c
44
EVP_MD_free(sha256);
crypto/openssl/test/sslapitest.c
8723
EVP_MD *sha256;
crypto/openssl/test/sslapitest.c
8734
sha256 = EVP_MD_fetch(libctx, "SHA-256", NULL);
crypto/openssl/test/sslapitest.c
8735
if (!TEST_ptr(sha256)) {
crypto/openssl/test/sslapitest.c
8743
|| sha256 == NULL
crypto/openssl/test/sslapitest.c
8745
|| !HMAC_Init_ex(hctx, tick_hmac_key, sizeof(tick_hmac_key), sha256,
crypto/openssl/test/sslapitest.c
8752
EVP_MD_free(sha256);
crypto/openssl/test/threadstest.c
1095
EVP_MD *sha256 = NULL;
crypto/openssl/test/threadstest.c
1102
|| !TEST_ptr(sha256 = EVP_MD_fetch(multi_libctx, "SHA2-256", NULL))
crypto/openssl/test/threadstest.c
1118
EVP_MD_free(sha256);
lib/libsecureboot/vets.c
1112
ve_test_hash(sha256, SHA256);
libexec/flua/libhash/lhash.c
166
REG_SIMPLE(sha256),
sbin/md5/md5.c
116
SHA256_CTX sha256;
sys/netinet/sctp_auth.c
856
SCTP_SHA256_INIT(&ctx->sha256);
sys/netinet/sctp_auth.c
874
SCTP_SHA256_UPDATE(&ctx->sha256, text, textlen);
sys/netinet/sctp_auth.c
892
SCTP_SHA256_FINAL(digest, &ctx->sha256);
sys/netinet/sctp_auth.h
52
SCTP_SHA256_CTX sha256;
usr.sbin/fstyp/hammer2_disk.h
719
} sha256;
usr.sbin/pkg/ecc.c
561
char *sha256;
usr.sbin/pkg/ecc.c
569
if ((sha256 = sha256_fd(fd)) != NULL) {
usr.sbin/pkg/ecc.c
570
ret = ecc_verify_data(sctx, sha256, strlen(sha256), sigfile, key,
usr.sbin/pkg/ecc.c
572
free(sha256);
usr.sbin/pkg/rsa.c
150
char *sha256;
usr.sbin/pkg/rsa.c
153
sha256 = NULL;
usr.sbin/pkg/rsa.c
160
if ((sha256 = sha256_fd(fd)) == NULL) {
usr.sbin/pkg/rsa.c
165
ret = rsa_verify_data(ctx, sha256, strlen(sha256), sigfile, key, keylen,
usr.sbin/pkg/rsa.c
167
free(sha256);