Home
last modified time | relevance | path

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

123

/third_party/openssl/doc/man3/
DEVP_sha224.pod6 EVP_sha256,
18 const EVP_MD *EVP_sha256(void);
32 EVP_sha256(),
DEVP_PKEY_verify.pod78 if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) <= 0)
DEVP_PKEY_CTX_set_tls1_prf_md.pod83 if (EVP_PKEY_CTX_set_tls1_prf_md(pctx, EVP_sha256()) <= 0)
DEVP_PKEY_verify_recover.pod86 if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) <= 0)
DEVP_PKEY_sign.pod82 if (EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()) <= 0)
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genhash.c51 ctx->evp_type = EVP_sha256(); in lws_genhash_init()
116 ctx->evp_type = EVP_sha256(); in lws_genhmac_init()
191 ctx->evp_type = EVP_sha256(); in lws_genhmac_init()
Dlws-gencrypto.c78 h = EVP_sha256(); in lws_gencrypto_openssl_hash_to_EVP_MD()
/third_party/openssl/test/
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()
Dpkey_meth_kdf_test.c34 if (EVP_PKEY_CTX_set_tls1_prf_md(pctx, EVP_sha256()) <= 0) { in test_kdf_tls1_prf()
83 if (EVP_PKEY_CTX_set_hkdf_md(pctx, EVP_sha256()) <= 0) { in test_kdf_hkdf()
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()
Dtls13secretstest.c157 return EVP_sha256(); in ssl_handshake_md()
198 return EVP_sha256(); in ssl_md()
Dossl_store_test.c67 EVP_sha256(), NULL, 0)); in test_store_search_by_key_fingerprint_fail()
Devp_extra_test.c1290 md = EVP_sha256(); in test_EVP_DigestSignInit()
1411 if (!TEST_true(EVP_DigestVerifyInit(md_ctx, NULL, EVP_sha256(), NULL, pkey)) in test_EVP_DigestVerifyInit()
2402 || !TEST_int_gt(EVP_PKEY_CTX_set_hkdf_md(pctx, EVP_sha256()), 0) in test_HKDF()
2444 || !TEST_int_gt(EVP_PKEY_CTX_set_hkdf_md(pctx, EVP_sha256()), 0) in test_emptyikm_HKDF()
2596 if (!TEST_int_gt(EVP_PKEY_CTX_set_signature_md(ctx, EVP_sha256()), 0) in test_EVP_PKEY_CTX_get_set_params()
2598 || !TEST_ptr_eq(md, EVP_sha256())) in test_EVP_PKEY_CTX_get_set_params()
4119 const EVP_MD *md = EVP_sha256(); in test_custom_pmeth()
4287 EVP_MD *md = EVP_MD_meth_dup(EVP_sha256()); in test_evp_md_cipher_meth()
4373 || !TEST_true(EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL)) in test_custom_md_meth()
4530 ret = EVP_DigestSignInit(ctx, NULL, tst == 2 ? NULL : EVP_sha256(), NULL, in test_signatures_with_engine()
Docspapitest.c90 cid = OCSP_cert_id_new(EVP_sha256(), name, key, serial); in make_dummy_resp()
Devp_fetch_prov_test.c163 && test_md(EVP_sha256()); in test_implicit_EVP_MD_fetch()
/third_party/nghttp2/src/
Dshrpx_quic.cc244 unsigned int hlen = EVP_MD_size(EVP_sha256()); in generate_quic_hashed_connection_id()
246 if (!EVP_DigestInit_ex(ctx, EVP_sha256(), nullptr) || in generate_quic_hashed_connection_id()
350 &sha256, reinterpret_cast<void *>(const_cast<EVP_MD *>(EVP_sha256()))); in generate_quic_connection_id_encryption_key()
Dshrpx_config_test.cc178 {StringRef{file1}, StringRef{file2}}, EVP_aes_128_cbc(), EVP_sha256()); in test_shrpx_config_read_tls_ticket_key_file()
223 {StringRef{file1}, StringRef{file2}}, EVP_aes_256_cbc(), EVP_sha256()); in test_shrpx_config_read_tls_ticket_key_file_aes_256()
Dshrpx_worker_process.cc200 ticket_key.hmac = EVP_sha256(); in generate_ticket_key()
367 key.hmac = EVP_sha256(); in memcached_get_ticket_key_cb()
501 ticketconf.files, ticketconf.cipher, EVP_sha256()); in worker_process_event_loop()
/third_party/openssl/crypto/evp/
Dc_alld.c39 EVP_add_digest(EVP_sha256()); in openssl_add_all_digests_int()
Dlegacy_sha.c127 const EVP_MD *EVP_sha256(void) in EVP_sha256() function
/third_party/openssl/engines/
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()
/third_party/fsverity-utils/lib/
Dhash_algs.c107 return openssl_digest_ctx_create(alg, EVP_sha256()); in create_sha256_ctx()
/third_party/rust/crates/rust-openssl/openssl/src/
Dmd.rs140 unsafe { MdRef::from_ptr(ffi::EVP_sha256() as *mut _) } in sha256()
/third_party/openssl/apps/
Ddgst.c325 md = (EVP_MD *)EVP_sha256(); in dgst_main()
382 md = (EVP_MD *)EVP_sha256(); in dgst_main()
/third_party/openssl/crypto/pkcs12/
Dp12_mutl.c209 md_type = EVP_sha256(); in PKCS12_set_mac()

123