Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/hkdf/
Dhkdf_test.c39 EVP_sha256,
59 EVP_sha256,
98 EVP_sha256,
/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);
Darm-neon.patch399 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B…
412 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf);
/external/boringssl/src/crypto/evp/
Dpbkdf_test.cc89 if (!TestPBKDF2("password", 8, NULL, 0, 2, EVP_sha256(), sizeof(kKey), in TestEmptySalt()
91 !TestPBKDF2("password", 8, "", 0, 2, EVP_sha256(), sizeof(kKey), kKey)) { in TestEmptySalt()
141 if (!TestPBKDF2("password", 8, "salt", 4, 2, EVP_sha256(), sizeof(kKey1), in TestSHA2()
Devp_extra_test.cc458 !EVP_DigestSignInit(md_ctx.get(), NULL, EVP_sha256(), NULL, pkey.get()) || in TestEVP_DigestSignInit()
482 if (!EVP_DigestVerifyInit(md_ctx.get(), NULL, EVP_sha256(), NULL, in TestEVP_DigestSignInit()
496 !EVP_DigestVerifyInit(md_ctx.get(), NULL, EVP_sha256(), NULL, in TestEVP_DigestVerifyInit()
555 !EVP_DigestSignInit(md_ctx.get(), NULL, EVP_sha256(), NULL, pkey.get()) || in TestEVP_DigestSignAlgorithm()
564 if (!EVP_DigestSignInit(md_ctx.get(), &pkey_ctx, EVP_sha256(), NULL, in TestEVP_DigestSignAlgorithm()
Devp_test.cc96 return EVP_sha256(); in GetDigest()
/external/libweave/third_party/libuweave/src/
Dcrypto_hmac.c22 if (!HMAC_Init(&context, key, key_len, EVP_sha256())) in uw_crypto_hmac_()
33 const size_t kFullDigestLen = (size_t)EVP_MD_size(EVP_sha256()); in uw_crypto_hmac_()
/external/libweave/examples/provider/
Devent_http_server.cc125 CHECK(X509_sign(x509, pkey, EVP_sha256())) << GetSslError(); in GenerateX509()
127 cert_fingerprint_.resize(EVP_MD_size(EVP_sha256())); in GenerateX509()
129 CHECK(X509_digest(x509, EVP_sha256(), cert_fingerprint_.data(), &len)); in GenerateX509()
/external/libchrome/crypto/
Dsignature_verifier_openssl.cc27 return EVP_sha256(); in ToOpenSSLDigest()
62 digest = EVP_sha256(); in VerifyInit()
Dhmac_openssl.cc51 return !!::HMAC(hash_alg_ == SHA1 ? EVP_sha1() : EVP_sha256(), in Sign()
Dsignature_creator_openssl.cc27 return EVP_sha256(); in ToOpenSSLDigest()
/external/boringssl/src/crypto/digest/
Ddigests.c175 const EVP_MD *EVP_sha256(void) { return &sha256_md; } in EVP_sha256() function
269 { NID_sha256, EVP_sha256, SN_sha256, LN_sha256 },
282 { NID_sha256WithRSAEncryption, EVP_sha256, SN_sha256WithRSAEncryption,
Ddigest_test.cc43 static const MD sha256 = { "SHA256", &EVP_sha256, &SHA256 };
/external/scrypt/lib/crypto/
Dcrypto_scrypt-neon.c267 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B); in crypto_scrypt()
280 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()
Dcrypto_scrypt-sse.c340 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B); in crypto_scrypt()
353 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf); in crypto_scrypt()
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.h151 #define EVP_sha2_256 EVP_sha256
/external/webrtc/webrtc/base/
Dopenssldigest.cc68 md = EVP_sha256(); in GetDigestEVP()
/external/boringssl/src/include/openssl/
Ddigest.h83 OPENSSL_EXPORT const EVP_MD *EVP_sha256(void);
/external/google-tv-pairing-protocol/cpp/src/polo/util/
Dcertificateutil.cc101 X509_sign(x509, pkey, EVP_sha256()); in GenerateSelfSignedCert()
/external/google-tv-pairing-protocol/cpp/tests/polo/util/
Dcertificateutiltest.cc92 X509_sign(x509, pkey, EVP_sha256()); in TEST()
/external/boringssl/src/crypto/hmac/
Dhmac_test.cc79 return EVP_sha256(); in GetDigest()
/external/boringssl/src/crypto/cipher/
De_tls.c386 EVP_sha256(), 0); in aead_aes_128_cbc_sha256_tls_init()
408 EVP_sha256(), 0); in aead_aes_256_cbc_sha256_tls_init()
/external/tpm2/
DCpriHash.c23 #define EVP_sm3_256 EVP_sha256
46 return (EVP_MD *)EVP_sha256(); in GetHashServer()
/external/boringssl/src/tool/
Ddigest.cc467 return DigestSum(EVP_sha256(), args); in SHA256Sum()

12