Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.c134 typedef uint8_t sha2_byte; /* Exactly 1 byte */
140 typedef u_int8_t sha2_byte; /* Exactly 1 byte */ typedef
518 void SHA256_Update(SHA256_CTX* context, const sha2_byte *data, size_t len) { in SHA256_Update()
527 assert(context != (SHA256_CTX*)0 && data != (sha2_byte*)0); in SHA256_Update()
566 void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) { in SHA256_Final()
574 if (digest != (sha2_byte*)0) { in SHA256_Final()
630 sha2_byte digest[SHA256_DIGEST_LENGTH], *d = digest; in SHA256_End()
652 char* SHA256_Data(const sha2_byte* data, size_t len, char digest[SHA256_DIGEST_STRING_LENGTH]) { in SHA256_Data()
840 void SHA512_Update(SHA512_CTX* context, const sha2_byte *data, size_t len) { in SHA512_Update()
849 assert(context != (SHA512_CTX*)0 && data != (sha2_byte*)0); in SHA512_Update()
[all …]