Home
last modified time | relevance | path

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

/net-tools-latest/tinydtls-0.8.2/sha2/
Dsha2.c134 typedef uint8_t sha2_byte; /* Exactly 1 byte */ typedef
140 typedef u_int8_t sha2_byte; /* Exactly 1 byte */ typedef
554 void SHA256_Update(SHA256_CTX* context, const sha2_byte *data, size_t len) { in SHA256_Update()
563 assert(context != (SHA256_CTX*)0 && data != (sha2_byte*)0); in SHA256_Update()
602 void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) { in SHA256_Final()
610 if (digest != (sha2_byte*)0) { in SHA256_Final()
666 sha2_byte digest[SHA256_DIGEST_LENGTH], *d = digest; in SHA256_End()
688 char* SHA256_Data(const sha2_byte* data, size_t len, char digest[SHA256_DIGEST_STRING_LENGTH]) { in SHA256_Data()
877 void SHA512_Update(SHA512_CTX* context, const sha2_byte *data, size_t len) { in SHA512_Update()
886 assert(context != (SHA512_CTX*)0 && data != (sha2_byte*)0); in SHA512_Update()
[all …]