Home
last modified time | relevance | path

Searched refs:EVP_sha1 (Results 1 – 25 of 34) 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()
Dpbkdf.c134 EVP_sha1(), key_len, out_key); in PKCS5_PBKDF2_HMAC_SHA1()
Ddigestsign.c90 type = EVP_sha1(); in do_sigver_init()
Devp_test.cc85 return EVP_sha1(); in GetDigest()
Dp_rsa_asn1.c473 return EVP_sha1(); in rsa_algor_to_md()
486 return EVP_sha1(); in rsa_mgf1_to_md()
Dp_rsa.c370 rctx->md = EVP_sha1(); in pkey_rsa_ctrl()
/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
266 { NID_sha1, EVP_sha1, SN_sha1, LN_sha1 },
272 { NID_dsaWithSHA, EVP_sha1, SN_dsaWithSHA, LN_dsaWithSHA },
273 { NID_dsaWithSHA1, EVP_sha1, SN_dsaWithSHA1, LN_dsaWithSHA1 },
274 { NID_ecdsa_with_SHA1, EVP_sha1, SN_ecdsa_with_SHA1, NULL },
277 { NID_sha1WithRSAEncryption, EVP_sha1, SN_sha1WithRSAEncryption,
Ddigest_test.cc41 static const MD sha1 = { "SHA1", &EVP_sha1, &SHA1 };
/external/boringssl/src/crypto/cipher/
De_tls.c365 return aead_tls_init(ctx, key, key_len, tag_len, dir, EVP_rc4(), EVP_sha1(), in aead_rc4_sha1_tls_init()
373 EVP_sha1(), 0); in aead_aes_128_cbc_sha1_tls_init()
380 EVP_sha1(), 1); in aead_aes_128_cbc_sha1_tls_implicit_iv_init()
395 EVP_sha1(), 0); in aead_aes_256_cbc_sha1_tls_init()
402 EVP_sha1(), 1); in aead_aes_256_cbc_sha1_tls_implicit_iv_init()
426 EVP_sha1(), 0); in aead_des_ede3_cbc_sha1_tls_init()
433 EVP_sha1(), 1); in aead_des_ede3_cbc_sha1_tls_implicit_iv_init()
De_ssl3.c319 return aead_ssl3_init(ctx, key, key_len, tag_len, dir, EVP_rc4(), EVP_sha1()); in aead_rc4_sha1_ssl3_init()
326 EVP_sha1()); in aead_aes_128_cbc_sha1_ssl3_init()
333 EVP_sha1()); in aead_aes_256_cbc_sha1_ssl3_init()
340 EVP_sha1()); in aead_des_ede3_cbc_sha1_ssl3_init()
/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/boringssl/src/include/openssl/
Ddigest.h81 OPENSSL_EXPORT const EVP_MD *EVP_sha1(void);
/external/boringssl/src/crypto/hmac/
Dhmac_test.cc76 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()
Dx_crl.c257 X509_CRL_digest(crl, EVP_sha1(), crl->sha1_hash, NULL); in crl_cb()
/external/openssh/
Ddigest-openssl.c60 { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 },
/external/boringssl/src/crypto/rsa/
Dpadding.c382 md = EVP_sha1(); in RSA_padding_add_PKCS1_OAEP_mgf1()
460 md = EVP_sha1(); in RSA_padding_check_PKCS1_OAEP_mgf1()
/external/libvncserver/x11vnc/
Denc.h444 Digest = EVP_sha1(); in enc_do()
460 Digest = EVP_sha1(); p += strlen("sha1+"); in enc_do()
1356 EVP_BytesToKey(EVP_rc4(), EVP_sha1(), NULL, rsabuf, SECUREVNC_RSA_PUBKEY_SIZE, 1, initkey, NULL); in securevnc_setup()
1465 EVP_DigestInit(&dctx, EVP_sha1()); in securevnc_setup()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c281 NID_pbe_WithSHA1And40BitRC2_CBC, EVP_rc2_40_cbc, EVP_sha1, pkcs12_pbe_keyivgen,
284 NID_pbe_WithSHA1And128BitRC4, EVP_rc4, EVP_sha1, pkcs12_pbe_keyivgen,
287 NID_pbe_WithSHA1And3_Key_TripleDES_CBC, EVP_des_ede3_cbc, EVP_sha1,
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c168 return openssl_digest_vector(EVP_sha1(), num_elem, addr, len, mac); in sha1_vector()
679 md = EVP_sha1(); in crypto_hash_init()
815 return openssl_hmac_vector(EVP_sha1(), key, key_len, num_elem, addr, in hmac_sha1_vector()
/external/boringssl/src/tool/
Ddigest.cc459 return DigestSum(EVP_sha1(), args); in SHA1Sum()
Dspeed.cc463 !SpeedHash(EVP_sha1(), "SHA-1", selected) || in Speed()
/external/boringssl/src/ssl/
Ds3_enc.c191 if (!EVP_DigestInit_ex(&sha1, EVP_sha1(), NULL)) { in ssl3_prf()

12