Home
last modified time | relevance | path

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

12

/external/openssh/openbsd-compat/
Dsha2.h57 #define SHA256_DIGEST_LENGTH 32 macro
58 #define SHA256_DIGEST_STRING_LENGTH (SHA256_DIGEST_LENGTH * 2 + 1)
86 void SHA256_Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA256_CTX *)
87 __attribute__((__bounded__(__minbytes__,1,SHA256_DIGEST_LENGTH)));
Dsha2.c545 SHA256_Final(u_int8_t digest[SHA256_DIGEST_LENGTH], SHA256_CTX *context) in SHA256_Final() argument
558 memcpy(digest, context->state, SHA256_DIGEST_LENGTH); in SHA256_Final()
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.h50 #define SHA256_DIGEST_LENGTH 32 macro
51 #define SHA256_DIGEST_STRING_LENGTH (SHA256_DIGEST_LENGTH * 2 + 1)
125 void SHA256_Final __P((u_int8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*));
Dsha2.c338 bcopy(sha256_initial_hash_value, context->state, SHA256_DIGEST_LENGTH); in SHA256_Init()
620 bcopy(context->state, d, SHA256_DIGEST_LENGTH); in SHA256_Final()
630 sha2_byte digest[SHA256_DIGEST_LENGTH], *d = digest; in SHA256_End()
639 for (i = 0; i < SHA256_DIGEST_LENGTH; i++) { in SHA256_End()
648 bzero(digest, SHA256_DIGEST_LENGTH); in SHA256_End()
1128 SHA256_DIGEST_LENGTH,
/external/boringssl/src/crypto/cipher_extra/
De_aesctrhmac.c24 #define EVP_AEAD_AES_CTR_HMAC_SHA256_TAG_LEN SHA256_DIGEST_LENGTH
119 static void hmac_calculate(uint8_t out[SHA256_DIGEST_LENGTH], in hmac_calculate() argument
144 uint8_t inner_digest[SHA256_DIGEST_LENGTH]; in hmac_calculate()
203 uint8_t hmac_result[SHA256_DIGEST_LENGTH]; in aead_aes_ctr_hmac_sha256_seal_scatter()
229 uint8_t hmac_result[SHA256_DIGEST_LENGTH]; in aead_aes_ctr_hmac_sha256_open_gather()
De_tls.c517 SHA256_DIGEST_LENGTH + 16, // key len (SHA256 + AES128)
519 16 + SHA256_DIGEST_LENGTH, // overhead (padding + SHA256)
520 SHA256_DIGEST_LENGTH, // max tag length
568 SHA256_DIGEST_LENGTH + 32, // key len (SHA256 + AES256)
570 16 + SHA256_DIGEST_LENGTH, // overhead (padding + SHA256)
571 SHA256_DIGEST_LENGTH, // max tag length
Dtls_cbc.c299 md_size = SHA256_DIGEST_LENGTH; in EVP_tls_cbc_digest_record()
/external/tensorflow/tensorflow/core/platform/s3/
Daws_crypto.cc33 unsigned int length = SHA256_DIGEST_LENGTH; in Calculate()
62 Aws::Utils::ByteBuffer hash(SHA256_DIGEST_LENGTH); in Calculate()
96 Aws::Utils::ByteBuffer hash(SHA256_DIGEST_LENGTH); in Calculate()
/external/libchrome/crypto/
Dsecure_hash.cc43 ScopedOpenSSLSafeSizeBuffer<SHA256_DIGEST_LENGTH> result( in Finish()
52 size_t GetHashLength() const override { return SHA256_DIGEST_LENGTH; } in GetHashLength()
/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg_test.cc73 uint8_t digest[SHA256_DIGEST_LENGTH]; in TEST()
76 const uint8_t kExpected[SHA256_DIGEST_LENGTH] = { in TEST()
/external/boringssl/src/crypto/fipsmodule/sha/
Dsha256.c91 sha->md_len = SHA256_DIGEST_LENGTH; in SHA256_Init()
146 case SHA256_DIGEST_LENGTH: \
147 for (nn = 0; nn < SHA256_DIGEST_LENGTH / 4; nn++) { \
153 if ((c)->md_len > SHA256_DIGEST_LENGTH) { \
/external/nos/test/system-test-harness/src/
Dkeymaster-provision-tests.cc800 uint8_t digest[SHA256_DIGEST_LENGTH]; in TEST_F()
803 CERT_BLOCK_SIZE, &digest[0]), SHA256_DIGEST_LENGTH); in TEST_F()
/external/openssh/
Dmd-sha256.c74 ssh_sha256.md_size = SHA256_DIGEST_LENGTH; in evp_ssh_sha256()
Ddigest-libc.c95 SHA256_DIGEST_LENGTH,
/external/boringssl/src/crypto/fipsmodule/ecdh/
Decdh.c107 case SHA256_DIGEST_LENGTH: in ECDH_compute_key_fips()
/external/iperf3/src/
Diperf_auth.c49 unsigned char hash[SHA256_DIGEST_LENGTH]; in sha256()
55 for(i = 0; i < SHA256_DIGEST_LENGTH; i++) in sha256()
/external/boringssl/src/crypto/dsa/
Ddsa.c201 unsigned char seed[SHA256_DIGEST_LENGTH]; in DSA_generate_parameters_ex()
202 unsigned char md[SHA256_DIGEST_LENGTH]; in DSA_generate_parameters_ex()
203 unsigned char buf[SHA256_DIGEST_LENGTH], buf2[SHA256_DIGEST_LENGTH]; in DSA_generate_parameters_ex()
/external/boringssl/src/crypto/ecdh_extra/
Decdh_test.cc121 uint8_t digest[SHA256_DIGEST_LENGTH], expected_digest[SHA256_DIGEST_LENGTH]; in TEST()
/external/nos/host/android/hals/authsecret/
DAuthSecret.cpp64 static_assert(SHA256_DIGEST_LENGTH == NUGGET_UPDATE_PASSWORD_LEN, in DeriveCitadelUpdatePassword()
/external/boringssl/src/include/openssl/
Dsha.h151 #define SHA256_DIGEST_LENGTH 32 macro
/external/boringssl/src/fipstools/
Dcavp_kas_test.cc46 digest_len = SHA256_DIGEST_LENGTH; in TestKAS()
Dtest_fips.c169 hexdump(output, SHA256_DIGEST_LENGTH); in main()
/external/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c188 out->md_size = SHA256_DIGEST_LENGTH; in DEFINE_METHOD_FUNCTION()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2003 if ((res = vmalloc(SHA256_DIGEST_LENGTH)) == 0)
2011 if (SHA256_DIGEST_LENGTH != res->l) {
2286 if ((res = vmalloc(SHA256_DIGEST_LENGTH)) == 0)
2312 return SHA256_DIGEST_LENGTH << 3; in eay_sha2_256_hashlen()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c420 SHA256_DIGEST_LENGTH,

12