Home
last modified time | relevance | path

Searched refs:SHA512_DIGEST_LENGTH (Results 1 – 8 of 8) sorted by relevance

/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.h56 #define SHA512_DIGEST_LENGTH 64 macro
57 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
141 void SHA512_Final __P((u_int8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*));
Dsha2.c666 bcopy(sha512_initial_hash_value, context->state, SHA512_DIGEST_LENGTH); in SHA512_Init()
950 bcopy(context->state, d, SHA512_DIGEST_LENGTH); in SHA512_Final()
959 sha2_byte digest[SHA512_DIGEST_LENGTH], *d = digest; in SHA512_End()
968 for (i = 0; i < SHA512_DIGEST_LENGTH; i++) { in SHA512_End()
977 bzero(digest, SHA512_DIGEST_LENGTH); in SHA512_End()
995 bcopy(sha384_initial_hash_value, context->state, SHA512_DIGEST_LENGTH); in SHA384_Init()
1180 SHA512_DIGEST_LENGTH,
/external/boringssl/src/crypto/bn/
Drandom.c254 uint8_t digest[SHA512_DIGEST_LENGTH]; in BN_generate_dsa_nonce()
304 if (todo > SHA512_DIGEST_LENGTH) { in BN_generate_dsa_nonce()
305 todo = SHA512_DIGEST_LENGTH; in BN_generate_dsa_nonce()
/external/boringssl/src/crypto/sha/
Dsha512.c118 sha->md_len = SHA512_DIGEST_LENGTH; in SHA512_Init()
140 static uint8_t buf[SHA512_DIGEST_LENGTH]; in SHA512()
291 case SHA512_DIGEST_LENGTH: in SHA512_Final()
292 for (n = 0; n < SHA512_DIGEST_LENGTH / 8; n++) { in SHA512_Final()
/external/boringssl/src/include/openssl/
Dsha.h219 #define SHA512_DIGEST_LENGTH 64 macro
/external/boringssl/src/crypto/digest/
Ddigests.c212 NID_sha512, SHA512_DIGEST_LENGTH, 0 /* flags */,
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c1889 if ((res = vmalloc(SHA512_DIGEST_LENGTH)) == 0)
1897 if (SHA512_DIGEST_LENGTH != res->l) {
2166 if ((res = vmalloc(SHA512_DIGEST_LENGTH)) == 0)
2192 return SHA512_DIGEST_LENGTH << 3; in eay_sha2_512_hashlen()
/external/boringssl/src/crypto/curve25519/
Dcurve25519.c4604 uint8_t az[SHA512_DIGEST_LENGTH]; in ED25519_keypair()
4621 uint8_t az[SHA512_DIGEST_LENGTH]; in ED25519_sign()
4632 uint8_t nonce[SHA512_DIGEST_LENGTH]; in ED25519_sign()
4644 uint8_t hram[SHA512_DIGEST_LENGTH]; in ED25519_sign()
4673 uint8_t h[SHA512_DIGEST_LENGTH]; in ED25519_verify()