Home
last modified time | relevance | path

Searched refs:SHA_DIGEST_LENGTH (Results 1 – 14 of 14) sorted by relevance

/external/boringssl/src/crypto/cipher/
De_tls.c448 SHA_DIGEST_LENGTH + 16, /* key len (SHA1 + RC4) */
450 SHA_DIGEST_LENGTH, /* overhead */
451 SHA_DIGEST_LENGTH, /* max tag length */
461 SHA_DIGEST_LENGTH + 16, /* key len (SHA1 + AES128) */
463 16 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */
464 SHA_DIGEST_LENGTH, /* max tag length */
474 SHA_DIGEST_LENGTH + 16 + 16, /* key len (SHA1 + AES128 + IV) */
476 16 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */
477 SHA_DIGEST_LENGTH, /* max tag length */
490 SHA_DIGEST_LENGTH, /* max tag length */
[all …]
De_ssl3.c357 SHA_DIGEST_LENGTH + 16, /* key len (SHA1 + RC4) */
359 SHA_DIGEST_LENGTH, /* overhead */
360 SHA_DIGEST_LENGTH, /* max tag length */
370 SHA_DIGEST_LENGTH + 16 + 16, /* key len (SHA1 + AES128 + IV) */
372 16 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */
373 SHA_DIGEST_LENGTH, /* max tag length */
383 SHA_DIGEST_LENGTH + 32 + 16, /* key len (SHA1 + AES256 + IV) */
385 16 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */
386 SHA_DIGEST_LENGTH, /* max tag length */
396 SHA_DIGEST_LENGTH + 24 + 8, /* key len (SHA1 + 3DES + IV) */
[all …]
/external/boringssl/src/ssl/
Ds3_enc.c172 uint8_t buf[16], smd[SHA_DIGEST_LENGTH]; in ssl3_prf()
211 EVP_DigestUpdate(&md5, smd, SHA_DIGEST_LENGTH); in ssl3_prf()
222 OPENSSL_cleanse(smd, SHA_DIGEST_LENGTH); in ssl3_prf()
Ds3_both.c456 OPENSSL_COMPILE_ASSERT(EVP_MAX_MD_SIZE > MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH,
489 *out_len = MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH; in ssl3_cert_verify_hash()
495 *out_len = SHA_DIGEST_LENGTH; in ssl3_cert_verify_hash()
Dssl_cipher.c656 *out_mac_secret_len = SHA_DIGEST_LENGTH; in ssl_cipher_get_evp_aead()
674 *out_mac_secret_len = SHA_DIGEST_LENGTH; in ssl_cipher_get_evp_aead()
696 *out_mac_secret_len = SHA_DIGEST_LENGTH; in ssl_cipher_get_evp_aead()
722 *out_mac_secret_len = SHA_DIGEST_LENGTH; in ssl_cipher_get_evp_aead()
/external/boringssl/src/crypto/x509/
Dt_x509.c254 unsigned char SHA1md[SHA_DIGEST_LENGTH]; in X509_ocspid_print()
267 for (i=0; i < SHA_DIGEST_LENGTH; i++) in X509_ocspid_print()
283 for (i=0; i < SHA_DIGEST_LENGTH; i++) in X509_ocspid_print()
Dx509_cmp.c181 rv = memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH); in X509_cmp()
229 unsigned char md[SHA_DIGEST_LENGTH]; in X509_NAME_hash()
/external/boringssl/src/crypto/digest/
Ddigests.c129 NID_sha1, SHA_DIGEST_LENGTH, 0 /* flags */, sha1_init,
245 MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH,
/external/boringssl/src/include/openssl/
Dsha.h74 #define SHA_DIGEST_LENGTH 20 macro
Dx509.h263 unsigned char sha1_hash[SHA_DIGEST_LENGTH];
435 unsigned char sha1_hash[SHA_DIGEST_LENGTH];
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2061 if ((res = vmalloc(SHA_DIGEST_LENGTH)) == 0)
2069 if (SHA_DIGEST_LENGTH != res->l) {
2345 if ((res = vmalloc(SHA_DIGEST_LENGTH)) == 0)
2371 return SHA_DIGEST_LENGTH << 3; in eay_sha1_hashlen()
/external/boringssl/src/crypto/dsa/
Ddsa_impl.c478 if (qsize != SHA_DIGEST_LENGTH && qsize != SHA224_DIGEST_LENGTH && in paramgen()
/external/boringssl/src/crypto/sha/
Dsha1.c82 static uint8_t buf[SHA_DIGEST_LENGTH]; in SHA1()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp6884 for (int i = 0; i < SHA_DIGEST_LENGTH; i++) {