Searched refs:SHA_DIGEST_LENGTH (Results 1 – 19 of 19) sorted by relevance
/external/ltp/testcases/kernel/security/integrity/ima/src/ |
D | ima_measure.c | 44 static u_int8_t zero[SHA_DIGEST_LENGTH]; 45 static u_int8_t fox[SHA_DIGEST_LENGTH]; 50 u_int8_t digest[SHA_DIGEST_LENGTH]; 55 u_int8_t digest[SHA_DIGEST_LENGTH]; 89 u_int8_t digest[SHA_DIGEST_LENGTH]; in verify_template_hash() 138 u_int8_t pcr[SHA_DIGEST_LENGTH]; in main() 165 memset(pcr, 0, SHA_DIGEST_LENGTH); /* initial PCR content 0..0 */ in main() 166 memset(zero, 0, SHA_DIGEST_LENGTH); in main() 167 memset(fox, 0xff, SHA_DIGEST_LENGTH); in main() 176 SHA1_Update(&c, pcr, SHA_DIGEST_LENGTH); in main()
|
D | ima_boot_aggregate.c | 52 unsigned char boot_aggregate[SHA_DIGEST_LENGTH]; in main() 57 unsigned char digest[SHA_DIGEST_LENGTH]; in main() 63 unsigned char digest[SHA_DIGEST_LENGTH]; in main() 82 memset(&pcr[i].digest, 0, SHA_DIGEST_LENGTH); in main() 103 memset(&boot_aggregate, 0, SHA_DIGEST_LENGTH); in main()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | e_tls.c | 457 SHA_DIGEST_LENGTH + 16, /* key len (SHA1 + AES128) */ 459 16 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */ 460 SHA_DIGEST_LENGTH, /* max tag length */ 473 SHA_DIGEST_LENGTH + 16 + 16, /* key len (SHA1 + AES128 + IV) */ 475 16 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */ 476 SHA_DIGEST_LENGTH, /* max tag length */ 505 SHA_DIGEST_LENGTH + 32, /* key len (SHA1 + AES256) */ 507 16 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */ 508 SHA_DIGEST_LENGTH, /* max tag length */ 521 SHA_DIGEST_LENGTH + 32 + 16, /* key len (SHA1 + AES256 + IV) */ [all …]
|
D | e_ssl3.c | 362 SHA_DIGEST_LENGTH + 16 + 16, /* key len (SHA1 + AES128 + IV) */ 364 16 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */ 365 SHA_DIGEST_LENGTH, /* max tag length */ 378 SHA_DIGEST_LENGTH + 32 + 16, /* key len (SHA1 + AES256 + IV) */ 380 16 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */ 381 SHA_DIGEST_LENGTH, /* max tag length */ 394 SHA_DIGEST_LENGTH + 24 + 8, /* key len (SHA1 + 3DES + IV) */ 396 8 + SHA_DIGEST_LENGTH, /* overhead (padding + SHA1) */ 397 SHA_DIGEST_LENGTH, /* max tag length */ 410 SHA_DIGEST_LENGTH, /* key len */ [all …]
|
D | tls_cbc.c | 292 md_size = SHA_DIGEST_LENGTH; in EVP_tls_cbc_digest_record()
|
/external/libbrillo/brillo/ |
D | cryptohome.cc | 65 unsigned char binmd[SHA_DIGEST_LENGTH]; in SanitizeUserName() 114 return (sanitized.length() == 2 * SHA_DIGEST_LENGTH) && in IsSanitizedUserName()
|
/external/selinux/libselinux/src/android/ |
D | android_common.h | 44 #define FC_DIGEST_SIZE SHA_DIGEST_LENGTH
|
/external/boringssl/src/crypto/x509/ |
D | t_x509.c | 258 unsigned char SHA1md[SHA_DIGEST_LENGTH]; in X509_ocspid_print() 272 for (i = 0; i < SHA_DIGEST_LENGTH; i++) { in X509_ocspid_print() 289 for (i = 0; i < SHA_DIGEST_LENGTH; i++) { in X509_ocspid_print()
|
D | x509_cmp.c | 184 rv = OPENSSL_memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH); in X509_cmp() 228 unsigned char md[SHA_DIGEST_LENGTH]; in X509_NAME_hash()
|
/external/boringssl/src/ssl/ |
D | t1_enc.cc | 269 uint8_t buf[16], smd[SHA_DIGEST_LENGTH]; in ssl3_prf() 308 EVP_DigestUpdate(&md5, smd, SHA_DIGEST_LENGTH); in ssl3_prf() 319 OPENSSL_cleanse(smd, SHA_DIGEST_LENGTH); in ssl3_prf()
|
D | ssl_cipher.cc | 726 *out_mac_secret_len = SHA_DIGEST_LENGTH; in ssl_cipher_get_evp_aead() 1744 size_t ret = 1 + SHA_DIGEST_LENGTH; in ssl_cipher_get_record_split_len()
|
/external/boringssl/src/crypto/fipsmodule/digest/ |
D | digests.c | 140 out->md_size = SHA_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION() 271 out->md_size = MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl_ocsp.c | 463 unsigned char hash[SHA_DIGEST_LENGTH]; in ocsp_find_signer() 471 if (rid->value.byKey->length != SHA_DIGEST_LENGTH) in ocsp_find_signer() 478 SHA_DIGEST_LENGTH) == 0) in ocsp_find_signer()
|
/external/boringssl/src/include/openssl/ |
D | sha.h | 74 #define SHA_DIGEST_LENGTH 20 macro
|
D | x509.h | 263 unsigned char sha1_hash[SHA_DIGEST_LENGTH]; 434 unsigned char sha1_hash[SHA_DIGEST_LENGTH];
|
/external/boringssl/src/fipstools/ |
D | test_fips.c | 162 hexdump(output, SHA_DIGEST_LENGTH); in main()
|
/external/toybox/toys/lsb/ |
D | md5sum.c | 243 #define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH
|
/external/ipsec-tools/src/racoon/ |
D | crypto_openssl.c | 2061 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/fipsmodule/rsa/ |
D | rsa.c | 333 SHA_DIGEST_LENGTH,
|