Home
last modified time | relevance | path

Searched refs:EVP_sha1 (Results 1 – 25 of 40) sorted by relevance

12

/external/boringssl/src/crypto/evp/
Dpbkdf_test.cc73 if (!TestPBKDF2(NULL, 0, "salt", 4, 1, EVP_sha1(), sizeof(kKey), kKey) || in TestEmptyPassword()
74 !TestPBKDF2("", 0, "salt", 4, 1, EVP_sha1(), sizeof(kKey), kKey)) { in TestEmptyPassword()
110 if (!TestPBKDF2("password", 8, "salt", 4, 1, EVP_sha1(), sizeof(kKey1), in TestRFC6070Vectors()
112 !TestPBKDF2("password", 8, "salt", 4, 2, EVP_sha1(), sizeof(kKey2), in TestRFC6070Vectors()
114 !TestPBKDF2("pass\0word", 9, "sa\0lt", 5, 4096, EVP_sha1(), in TestRFC6070Vectors()
162 const EVP_MD *digest = EVP_sha1(); in TestZeroIterations()
Dpbkdf.c150 EVP_sha1(), key_len, out_key); in PKCS5_PBKDF2_HMAC_SHA1()
Devp_test.cc92 return EVP_sha1(); in GetDigest()
Dp_rsa_asn1.c511 return EVP_sha1(); in rsa_algor_to_md()
524 return EVP_sha1(); in rsa_mgf1_to_md()
/external/boringssl/src/crypto/hkdf/
Dhkdf_test.c117 EVP_sha1,
136 EVP_sha1,
175 EVP_sha1,
194 EVP_sha1,
/external/boringssl/src/crypto/digest/
Ddigests.c133 const EVP_MD *EVP_sha1(void) { return &sha1_md; } in EVP_sha1() function
267 { NID_sha1, EVP_sha1, SN_sha1, LN_sha1 },
273 { NID_dsaWithSHA, EVP_sha1, SN_dsaWithSHA, LN_dsaWithSHA },
274 { NID_dsaWithSHA1, EVP_sha1, SN_dsaWithSHA1, LN_dsaWithSHA1 },
275 { NID_ecdsa_with_SHA1, EVP_sha1, SN_ecdsa_with_SHA1, NULL },
278 { NID_sha1WithRSAEncryption, EVP_sha1, SN_sha1WithRSAEncryption,
Ddigest_test.cc41 static const MD sha1 = { "SHA1", &EVP_sha1, &SHA1 };
/external/boringssl/src/crypto/cipher/
De_tls.c363 return aead_tls_init(ctx, key, key_len, tag_len, dir, EVP_rc4(), EVP_sha1(), in aead_rc4_sha1_tls_init()
371 EVP_sha1(), 0); in aead_aes_128_cbc_sha1_tls_init()
378 EVP_sha1(), 1); in aead_aes_128_cbc_sha1_tls_implicit_iv_init()
393 EVP_sha1(), 0); in aead_aes_256_cbc_sha1_tls_init()
400 EVP_sha1(), 1); in aead_aes_256_cbc_sha1_tls_implicit_iv_init()
424 EVP_sha1(), 0); in aead_des_ede3_cbc_sha1_tls_init()
431 EVP_sha1(), 1); in aead_des_ede3_cbc_sha1_tls_implicit_iv_init()
462 EVP_sha1(), 1 /* implicit iv */); in aead_null_sha1_tls_init()
De_ssl3.c332 return aead_ssl3_init(ctx, key, key_len, tag_len, dir, EVP_rc4(), EVP_sha1()); in aead_rc4_sha1_ssl3_init()
339 EVP_sha1()); in aead_aes_128_cbc_sha1_ssl3_init()
346 EVP_sha1()); in aead_aes_256_cbc_sha1_ssl3_init()
353 EVP_sha1()); in aead_des_ede3_cbc_sha1_ssl3_init()
360 EVP_sha1()); in aead_null_sha1_ssl3_init()
/external/libchrome/crypto/
Dsignature_verifier_openssl.cc25 return EVP_sha1(); in ToOpenSSLDigest()
60 digest = EVP_sha1(); in VerifyInit()
Dhmac_openssl.cc51 return !!::HMAC(hash_alg_ == SHA1 ? EVP_sha1() : EVP_sha256(), in Sign()
Dsignature_creator_openssl.cc25 return EVP_sha1(); in ToOpenSSLDigest()
/external/boringssl/src/crypto/x509v3/
Dv3_skey.c135 if (!EVP_Digest(pk->data, pk->length, pkey_dig, &diglen, EVP_sha1(), NULL)) in s2i_skey_id()
/external/webrtc/webrtc/base/
Dopenssldigest.cc64 md = EVP_sha1(); in GetDigestEVP()
/external/boringssl/src/include/openssl/
Ddigest.h81 OPENSSL_EXPORT const EVP_MD *EVP_sha1(void);
/external/boringssl/src/crypto/hmac/
Dhmac_test.cc75 return EVP_sha1(); in GetDigest()
/external/boringssl/src/crypto/x509/
Dt_x509.c265 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
281 SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
Dx509_cmp.c233 if (!EVP_Digest(x->canon_enc, x->canon_enclen, md, NULL, EVP_sha1(), in X509_NAME_hash()
/external/openssh/
Ddigest-openssl.c60 { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 },
/external/boringssl/src/crypto/rsa/
Dpadding.c332 md = EVP_sha1(); in RSA_padding_add_PKCS1_OAEP_mgf1()
405 md = EVP_sha1(); in RSA_padding_check_PKCS1_OAEP_mgf1()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c285 NID_pbe_WithSHA1And40BitRC2_CBC, EVP_rc2_40_cbc, EVP_sha1,
289 NID_pbe_WithSHA1And128BitRC4, EVP_rc4, EVP_sha1, pkcs12_pbe_keyivgen,
293 NID_pbe_WithSHA1And3_Key_TripleDES_CBC, EVP_des_ede3_cbc, EVP_sha1,
/external/libbrillo/policy/
Ddevice_policy_impl.cc46 const EVP_MD* digest = EVP_sha1(); in VerifySignature()
/external/boringssl/src/ssl/
Ds3_enc.c193 if (!EVP_DigestInit_ex(&sha1, EVP_sha1(), NULL)) { in ssl3_prf()
/external/boringssl/src/tool/
Ddigest.cc459 return DigestSum(EVP_sha1(), args); in SHA1Sum()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c224 return openssl_digest_vector(EVP_sha1(), num_elem, addr, len, mac); in sha1_vector()
752 md = EVP_sha1(); in crypto_hash_init()
883 return openssl_hmac_vector(EVP_sha1(), key, key_len, num_elem, addr, in hmac_sha1_vector()

12