Home
last modified time | relevance | path

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

12345

/external/openscreen/util/crypto/
Dsecure_hash_unittest.cc28 SecureHash ctx(EVP_sha256()); in TEST()
49 SecureHash ctx1(EVP_sha256()); in TEST()
78 SecureHash ctx(EVP_sha256()); in TEST()
87 SecureHash ctx1(EVP_sha256()); in TEST()
94 SecureHash ctx2(EVP_sha256()); in TEST()
Dsha2.cc19 if (!EVP_Digest(str.data(), str.size(), output, nullptr, EVP_sha256(), in SHA256HashString()
/external/boringssl/src/crypto/hkdf/
Dhkdf_test.cc43 EVP_sha256,
68 EVP_sha256,
112 EVP_sha256,
303 EVP_sha256()); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/hkdf/
Dhkdf_test.cc43 EVP_sha256,
68 EVP_sha256,
112 EVP_sha256,
303 EVP_sha256()); in TEST()
/external/scrypt/patches/
Duse_openssl_pbkdf2.patch22 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B…
34 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf);
62 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B…
74 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf);
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dpbkdf_test.cc50 ASSERT_TRUE(PKCS5_PBKDF2_HMAC("password", 8, NULL, 0, 2, EVP_sha256(), in TEST()
55 EVP_sha256(), sizeof(kKey), key)); in TEST()
110 EVP_sha256(), sizeof(kKey1), key)); in TEST()
Devp_extra_test.cc381 EVP_DigestSignInit(md_ctx.get(), NULL, EVP_sha256(), NULL, pkey.get())); in TEST()
399 EVP_DigestVerifyInit(md_ctx.get(), NULL, EVP_sha256(), NULL, pkey.get())); in TEST()
409 EVP_DigestVerifyInit(md_ctx.get(), NULL, EVP_sha256(), NULL, pkey.get())); in TEST()
431 ASSERT_TRUE(EVP_PKEY_CTX_set_signature_md(ctx.get(), EVP_sha256())); in TEST()
/external/boringssl/src/crypto/evp/
Dpbkdf_test.cc50 ASSERT_TRUE(PKCS5_PBKDF2_HMAC("password", 8, NULL, 0, 2, EVP_sha256(), in TEST()
55 EVP_sha256(), sizeof(kKey), key)); in TEST()
110 EVP_sha256(), sizeof(kKey1), key)); in TEST()
Devp_extra_test.cc381 EVP_DigestSignInit(md_ctx.get(), NULL, EVP_sha256(), NULL, pkey.get())); in TEST()
399 EVP_DigestVerifyInit(md_ctx.get(), NULL, EVP_sha256(), NULL, pkey.get())); in TEST()
409 EVP_DigestVerifyInit(md_ctx.get(), NULL, EVP_sha256(), NULL, pkey.get())); in TEST()
431 ASSERT_TRUE(EVP_PKEY_CTX_set_signature_md(ctx.get(), EVP_sha256())); in TEST()
/external/boringssl/src/crypto/digest_extra/
Ddigest_test.cc53 static const MD sha256 = { "SHA256", &EVP_sha256, &SHA256 };
276 ASSERT_TRUE(EVP_marshal_digest_algorithm(cbb.get(), EVP_sha256())); in TEST()
286 EXPECT_EQ(EVP_sha256(), EVP_parse_digest_algorithm(&cbs)); in TEST()
291 EXPECT_EQ(EVP_sha256(), EVP_parse_digest_algorithm(&cbs)); in TEST()
Ddigest_extra.c82 {NID_sha256, EVP_sha256, SN_sha256, LN_sha256},
98 {NID_undef, EVP_sha256, SN_sha256WithRSAEncryption,
/external/rust/crates/quiche/deps/boringssl/src/crypto/digest_extra/
Ddigest_test.cc53 static const MD sha256 = { "SHA256", &EVP_sha256, &SHA256 };
271 ASSERT_TRUE(EVP_marshal_digest_algorithm(cbb.get(), EVP_sha256())); in TEST()
281 EXPECT_EQ(EVP_sha256(), EVP_parse_digest_algorithm(&cbs)); in TEST()
286 EXPECT_EQ(EVP_sha256(), EVP_parse_digest_algorithm(&cbs)); in TEST()
Ddigest_extra.c80 {NID_sha256, EVP_sha256, SN_sha256, LN_sha256},
96 {NID_undef, EVP_sha256, SN_sha256WithRSAEncryption,
/external/libwebsockets/lib/tls/openssl/
Dlws-genhash.c50 ctx->evp_type = EVP_sha256(); in lws_genhash_init()
114 ctx->evp_type = EVP_sha256(); in lws_genhmac_init()
Dlws-gencrypto.c78 h = EVP_sha256(); in lws_gencrypto_openssl_hash_to_EVP_MD()
/external/boringssl/src/decrepit/evp/
Devp_do_all.c78 callback(EVP_sha256(), "SHA256", NULL, arg); in EVP_MD_do_all_sorted()
86 callback(EVP_sha256(), "sha256", NULL, arg); in EVP_MD_do_all_sorted()
/external/rust/crates/quiche/deps/boringssl/src/decrepit/evp/
Devp_do_all.c78 callback(EVP_sha256(), "SHA256", NULL, arg); in EVP_MD_do_all_sorted()
86 callback(EVP_sha256(), "sha256", NULL, arg); in EVP_MD_do_all_sorted()
/external/openssh/
Ddigest-openssl.c36 # define EVP_sha256 NULL macro
61 { SSH_DIGEST_SHA256, "SHA256", 32, EVP_sha256 },
/external/boringssl/src/crypto/hmac_extra/
Dhmac_test.cc79 return EVP_sha256(); in GetDigest()
173 EVP_sha256()); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/hmac_extra/
Dhmac_test.cc79 return EVP_sha256(); in GetDigest()
173 EVP_sha256()); in TEST()
/external/scrypt/lib/crypto/
Dcrypto_scrypt-neon.c266 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B); in crypto_scrypt()
279 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf); in crypto_scrypt()
Dcrypto_scrypt-ref.c263 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B); in crypto_scrypt()
276 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf); in crypto_scrypt()
/external/libchrome/crypto/
Dhmac.cc62 return !!::HMAC(hash_alg_ == SHA1 ? EVP_sha1() : EVP_sha256(), key_.data(), in Sign()
/external/boringssl/src/util/fipstools/cavp/
Dcavp_hmac_test.cc45 md = EVP_sha256(); in TestHMAC()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_hmac_test.cc45 md = EVP_sha256(); in TestHMAC()

12345