Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/security/integrity/ima/src/
Dima_boot_aggregate.c45 for (i = 0; i < SHA_DIGEST_LENGTH; i++) in display_sha1_digest()
52 unsigned char boot_aggregate[SHA_DIGEST_LENGTH]; in main()
57 u_int8_t 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()
100 SHA_DIGEST_LENGTH); in main()
102 SHA_DIGEST_LENGTH); in main()
118 memset(&boot_aggregate, 0, SHA_DIGEST_LENGTH); in main()
125 SHA1_Update(&c, pcr[i].digest, SHA_DIGEST_LENGTH); in main()
/external/boringssl/src/crypto/cipher_extra/
De_tls.c483 SHA_DIGEST_LENGTH + 16, // key len (SHA1 + AES128)
485 16 + SHA_DIGEST_LENGTH, // overhead (padding + SHA1)
486 SHA_DIGEST_LENGTH, // max tag length
500 SHA_DIGEST_LENGTH + 16 + 16, // key len (SHA1 + AES128 + IV)
502 16 + SHA_DIGEST_LENGTH, // overhead (padding + SHA1)
503 SHA_DIGEST_LENGTH, // max tag length
534 SHA_DIGEST_LENGTH + 32, // key len (SHA1 + AES256)
536 16 + SHA_DIGEST_LENGTH, // overhead (padding + SHA1)
537 SHA_DIGEST_LENGTH, // max tag length
551 SHA_DIGEST_LENGTH + 32 + 16, // key len (SHA1 + AES256 + IV)
[all …]
Dtls_cbc.c293 md_size = SHA_DIGEST_LENGTH; in EVP_tls_cbc_digest_record()
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
De_tls.c483 SHA_DIGEST_LENGTH + 16, // key len (SHA1 + AES128)
485 16 + SHA_DIGEST_LENGTH, // overhead (padding + SHA1)
486 SHA_DIGEST_LENGTH, // max tag length
500 SHA_DIGEST_LENGTH + 16 + 16, // key len (SHA1 + AES128 + IV)
502 16 + SHA_DIGEST_LENGTH, // overhead (padding + SHA1)
503 SHA_DIGEST_LENGTH, // max tag length
534 SHA_DIGEST_LENGTH + 32, // key len (SHA1 + AES256)
536 16 + SHA_DIGEST_LENGTH, // overhead (padding + SHA1)
537 SHA_DIGEST_LENGTH, // max tag length
551 SHA_DIGEST_LENGTH + 32 + 16, // key len (SHA1 + AES256 + IV)
[all …]
Dtls_cbc.c293 md_size = SHA_DIGEST_LENGTH; in EVP_tls_cbc_digest_record()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dsha.h74 #define SHA_DIGEST_LENGTH 20 macro
85 OPENSSL_EXPORT int SHA1_Final(uint8_t out[SHA_DIGEST_LENGTH], SHA_CTX *sha);
91 uint8_t out[SHA_DIGEST_LENGTH]);
/external/boringssl/src/include/openssl/
Dsha.h74 #define SHA_DIGEST_LENGTH 20 macro
85 OPENSSL_EXPORT int SHA1_Final(uint8_t out[SHA_DIGEST_LENGTH], SHA_CTX *sha);
91 uint8_t out[SHA_DIGEST_LENGTH]);
/external/selinux/libselinux/src/android/
Dandroid_common.h43 #define FC_DIGEST_SIZE SHA_DIGEST_LENGTH
/external/libbrillo/brillo/
Dcryptohome.cc76 unsigned char binmd[SHA_DIGEST_LENGTH]; in SanitizeUserName()
137 return (sanitized.length() == 2 * SHA_DIGEST_LENGTH) && in IsSanitizedUserName()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dsha2.cpp23 #define SHA_DIGEST_LENGTH(x) _SHA_DIGEST_LENGTH(x) macro
52 uint8_t digest[SHA_DIGEST_LENGTH(SHASIZE)]; in test1()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dt_x509.c255 unsigned char SHA1md[SHA_DIGEST_LENGTH]; in X509_ocspid_print()
269 for (i = 0; i < SHA_DIGEST_LENGTH; i++) { in X509_ocspid_print()
286 for (i = 0; i < SHA_DIGEST_LENGTH; i++) { in X509_ocspid_print()
Dx509_cmp.c190 int rv = OPENSSL_memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH); in X509_cmp()
234 unsigned char md[SHA_DIGEST_LENGTH]; in X509_NAME_hash()
/external/boringssl/src/crypto/x509/
Dt_x509.c255 unsigned char SHA1md[SHA_DIGEST_LENGTH]; in X509_ocspid_print()
269 for (i = 0; i < SHA_DIGEST_LENGTH; i++) { in X509_ocspid_print()
286 for (i = 0; i < SHA_DIGEST_LENGTH; i++) { in X509_ocspid_print()
Dx509_cmp.c195 int rv = OPENSSL_memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH); in X509_cmp()
239 unsigned char md[SHA_DIGEST_LENGTH]; in X509_NAME_hash()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c140 out->md_size = SHA_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
287 out->md_size = MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
/external/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c140 out->md_size = SHA_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
287 out->md_size = MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
/external/usrsctp/usrsctplib/netinet/
Dsctp_sha1.c40 #define SHA_DIGEST_LENGTH (20) macro
60 PK11_DigestFinal(ctx->pk11_ctx, digest, &output_len, SHA_DIGEST_LENGTH); in sctp_sha1_final()
/external/libcppbor/src/
Dcppbor.cpp141 unsigned char digest[SHA_DIGEST_LENGTH]; in prettyPrintInternal()
146 char buf2[SHA_DIGEST_LENGTH * 2 + 1]; in prettyPrintInternal()
147 for (size_t n = 0; n < SHA_DIGEST_LENGTH; n++) { in prettyPrintInternal()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl_ocsp.c463 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/util/fipstools/cavp/
Dtest_fips.c162 hexdump(output, SHA_DIGEST_LENGTH); in main()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dtest_fips.c162 hexdump(output, SHA_DIGEST_LENGTH); in main()
/external/toybox/toys/lsb/
Dmd5sum.c244 #define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH
/external/boringssl/src/ssl/
Dssl_cipher.cc629 *out_mac_secret_len = SHA_DIGEST_LENGTH; in ssl_cipher_get_evp_aead()
1321 size_t ret = 1 + SHA_DIGEST_LENGTH; in ssl_cipher_get_record_split_len()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_cipher.cc629 *out_mac_secret_len = SHA_DIGEST_LENGTH; in ssl_cipher_get_evp_aead()
1329 size_t ret = 1 + SHA_DIGEST_LENGTH; in ssl_cipher_get_record_split_len()
/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()

12