Home
last modified time | relevance | path

Searched refs:SHA256_DIGEST_LENGTH (Results 1 – 25 of 28) 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
121 static void hmac_calculate(uint8_t out[SHA256_DIGEST_LENGTH], in hmac_calculate() argument
146 uint8_t inner_digest[SHA256_DIGEST_LENGTH]; in hmac_calculate()
204 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.c489 SHA256_DIGEST_LENGTH + 16, /* key len (SHA256 + AES128) */
491 16 + SHA256_DIGEST_LENGTH, /* overhead (padding + SHA256) */
492 SHA256_DIGEST_LENGTH, /* max tag length */
537 SHA256_DIGEST_LENGTH + 32, /* key len (SHA256 + AES256) */
539 16 + SHA256_DIGEST_LENGTH, /* overhead (padding + SHA256) */
540 SHA256_DIGEST_LENGTH, /* max tag length */
Dtls_cbc.c299 md_size = SHA256_DIGEST_LENGTH; in EVP_tls_cbc_digest_record()
/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.c96 sha->md_len = SHA256_DIGEST_LENGTH; in SHA256_Init()
151 case SHA256_DIGEST_LENGTH: \
152 for (nn = 0; nn < SHA256_DIGEST_LENGTH / 4; nn++) { \
158 if ((c)->md_len > SHA256_DIGEST_LENGTH) { \
/external/curl/lib/vtls/
Dvtls.h45 #ifndef SHA256_DIGEST_LENGTH
46 #define SHA256_DIGEST_LENGTH 32 /* fixed size */ macro
Dvtls.c804 sha256sumdigest = malloc(SHA256_DIGEST_LENGTH); in Curl_pin_peer_pubkey()
808 sha256sumdigest, SHA256_DIGEST_LENGTH); in Curl_pin_peer_pubkey()
810 SHA256_DIGEST_LENGTH, &encoded, &encodedlen); in Curl_pin_peer_pubkey()
/external/dhcpcd-6.8.2/crypt/
Dsha256.h34 #define SHA256_DIGEST_LENGTH 32 macro
/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/dsa/
Ddsa.c160 unsigned char seed[SHA256_DIGEST_LENGTH]; in DSA_generate_parameters_ex()
161 unsigned char md[SHA256_DIGEST_LENGTH]; in DSA_generate_parameters_ex()
162 unsigned char buf[SHA256_DIGEST_LENGTH], buf2[SHA256_DIGEST_LENGTH]; in DSA_generate_parameters_ex()
/external/boringssl/src/include/openssl/
Dsha.h151 #define SHA256_DIGEST_LENGTH 32 macro
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
Dpolochallengeresponse.cc83 Alpha* alpha = new Alpha(SHA256_DIGEST_LENGTH); in GetAlpha()
/external/boringssl/src/fipstools/
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/dhcpcd-6.8.2/
Dipv6.c81 #ifndef SHA256_DIGEST_LENGTH
82 # define SHA256_DIGEST_LENGTH 32 macro
321 unsigned char buf[2048], *p, digest[SHA256_DIGEST_LENGTH]; in ipv6_makestableprivate1()
/external/boringssl/src/ssl/
Dssl_test.cc1740 uint8_t cert_sha256[SHA256_DIGEST_LENGTH]; in TestRetainOnlySHA256OfCerts()
1777 if (OPENSSL_memcmp(cert_sha256, session->peer_sha256, SHA256_DIGEST_LENGTH) != in TestRetainOnlySHA256OfCerts()
2210 if (session->tlsext_ticklen < 16 + 16 + SHA256_DIGEST_LENGTH) { in GetServerTicketTime()
2215 size_t len = session->tlsext_ticklen - 16 - 16 - SHA256_DIGEST_LENGTH; in GetServerTicketTime()
Dssl_cipher.cc736 *out_mac_secret_len = SHA256_DIGEST_LENGTH; in ssl_cipher_get_evp_aead()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c347 SHA256_DIGEST_LENGTH,

12