Home
last modified time | relevance | path

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

123

/external/openscreen/util/crypto/
Dsha2_unittest.cc23 uint8_t output[SHA256_DIGEST_LENGTH]; in TEST()
39 ASSERT_EQ(static_cast<size_t>(SHA256_DIGEST_LENGTH), output.value().size()); in TEST()
52 uint8_t output[SHA256_DIGEST_LENGTH]; in TEST()
65 uint8_t output[SHA256_DIGEST_LENGTH]; in TEST()
Dsecure_hash_unittest.cc40 const uint8_t kExpectedHashOfInput1[SHA256_DIGEST_LENGTH] = { in TEST()
44 const uint8_t kExpectedHashOfInput1And2[SHA256_DIGEST_LENGTH] = { in TEST()
79 EXPECT_EQ(static_cast<size_t>(SHA256_DIGEST_LENGTH), ctx.GetHashLength()); in TEST()
Dsha2.cc17 uint8_t output[SHA256_DIGEST_LENGTH]) { in SHA256HashString() argument
28 std::string output(SHA256_DIGEST_LENGTH, 0); in SHA256HashString()
Dsha2.h26 uint8_t output[SHA256_DIGEST_LENGTH]);
/external/curl/tests/unit/
Dunit1610.c41 unsigned char output[SHA256_DIGEST_LENGTH];
49 "\x5b\x4b", SHA256_DIGEST_LENGTH);
56 "\x15\xae", SHA256_DIGEST_LENGTH);
/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*));
/external/openssh/openbsd-compat/
Dsha2.h52 #define SHA256_DIGEST_LENGTH 32 macro
53 #define SHA256_DIGEST_STRING_LENGTH (SHA256_DIGEST_LENGTH * 2 + 1)
101 void SHA256Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA2_CTX *)
102 __attribute__((__bounded__(__minbytes__,1,SHA256_DIGEST_LENGTH)));
/external/rust/crates/quiche/deps/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
/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
/external/boringssl/src/crypto/hpke/
Dhpke.c268 uint8_t out_shared_secret[SHA256_DIGEST_LENGTH], in hpke_encap() argument
283 SHA256_DIGEST_LENGTH, dh, kem_context)) { in hpke_encap()
290 uint8_t out_shared_secret[SHA256_DIGEST_LENGTH], in hpke_decap() argument
304 SHA256_DIGEST_LENGTH, dh, kem_context)) { in hpke_decap()
347 uint8_t shared_secret[SHA256_DIGEST_LENGTH]; in EVP_HPKE_CTX_setup_base_s_x25519_for_test()
371 uint8_t shared_secret[SHA256_DIGEST_LENGTH]; in EVP_HPKE_CTX_setup_base_r_x25519()
411 uint8_t shared_secret[SHA256_DIGEST_LENGTH]; in EVP_HPKE_CTX_setup_psk_s_x25519_for_test()
436 uint8_t shared_secret[SHA256_DIGEST_LENGTH]; in EVP_HPKE_CTX_setup_psk_r_x25519()
/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/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Daws_crypto.cc34 unsigned int length = SHA256_DIGEST_LENGTH; in Calculate()
62 Aws::Utils::ByteBuffer hash(SHA256_DIGEST_LENGTH); in Calculate()
95 Aws::Utils::ByteBuffer hash(SHA256_DIGEST_LENGTH); in Calculate()
/external/tensorflow/tensorflow/core/platform/s3/
Daws_crypto.cc34 unsigned int length = SHA256_DIGEST_LENGTH; in Calculate()
63 Aws::Utils::ByteBuffer hash(SHA256_DIGEST_LENGTH); in Calculate()
97 Aws::Utils::ByteBuffer hash(SHA256_DIGEST_LENGTH); in Calculate()
/external/boringssl/src/include/openssl/
Dsha.h155 #define SHA256_DIGEST_LENGTH 32 macro
166 OPENSSL_EXPORT int SHA256_Final(uint8_t out[SHA256_DIGEST_LENGTH],
173 uint8_t out[SHA256_DIGEST_LENGTH]);
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dsha.h155 #define SHA256_DIGEST_LENGTH 32 macro
166 OPENSSL_EXPORT int SHA256_Final(uint8_t out[SHA256_DIGEST_LENGTH],
173 uint8_t out[SHA256_DIGEST_LENGTH]);
/external/openssh/regress/misc/sk-dummy/
Dsk-dummy.c310 uint8_t apphash[SHA256_DIGEST_LENGTH]; in sig_ecdsa()
311 uint8_t sighash[SHA256_DIGEST_LENGTH]; in sig_ecdsa()
333 if (message_len != SHA256_DIGEST_LENGTH) { in sig_ecdsa()
401 uint8_t apphash[SHA256_DIGEST_LENGTH]; in sig_ed25519()
403 sizeof(counter) + SHA256_DIGEST_LENGTH]; in sig_ed25519()
412 if (message_len != SHA256_DIGEST_LENGTH) { in sig_ed25519()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/sha/
Dsha256.c91 sha->md_len = SHA256_DIGEST_LENGTH; in SHA256_Init()
106 uint8_t out[SHA256_DIGEST_LENGTH]) { in SHA256() argument
151 case SHA256_DIGEST_LENGTH: \
152 for (nn = 0; nn < SHA256_DIGEST_LENGTH / 4; nn++) { \
158 if ((c)->md_len > SHA256_DIGEST_LENGTH) { \
/external/boringssl/src/crypto/fipsmodule/sha/
Dsha256.c91 sha->md_len = SHA256_DIGEST_LENGTH; in SHA256_Init()
106 uint8_t out[SHA256_DIGEST_LENGTH]) { in SHA256() argument
151 case SHA256_DIGEST_LENGTH: \
152 for (nn = 0; nn < SHA256_DIGEST_LENGTH / 4; nn++) { \
158 if ((c)->md_len > SHA256_DIGEST_LENGTH) { \
/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/rust/crates/quiche/deps/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/tpm2-tss/src/tss2-fapi/
Difapi_get_intl_cert.c49 unsigned char *hash = (unsigned char *)malloc(SHA256_DIGEST_LENGTH); in hash_ek_public()
119 LOGBLOB_TRACE(&hash[0], SHA256_DIGEST_LENGTH, "Hash"); in hash_ek_public()
150 BIO_write(bio, buffer, SHA256_DIGEST_LENGTH); in base64_encode()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/external/
Daws_request_signer.cc39 void SHA256(const std::string& str, unsigned char out[SHA256_DIGEST_LENGTH]) { in SHA256() argument
47 unsigned char hash[SHA256_DIGEST_LENGTH]; in SHA256Hex()
50 SHA256_DIGEST_LENGTH); in SHA256Hex()
/external/curl/lib/
Dcurl_sha256.h28 #define SHA256_DIGEST_LENGTH 32 macro

123