Lines Matching refs:sha2_byte

134 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()
966 void SHA512_Final(sha2_byte digest[], SHA512_CTX* context) { in SHA512_Final()
973 if (digest != (sha2_byte*)0) { in SHA512_Final()
996 sha2_byte digest[SHA512_DIGEST_LENGTH], *d = digest; in SHA512_End()
1018 char* SHA512_Data(const sha2_byte* data, size_t len, char digest[SHA512_DIGEST_STRING_LENGTH]) { in SHA512_Data()
1038 void SHA384_Update(SHA384_CTX* context, const sha2_byte* data, size_t len) { in SHA384_Update()
1042 void SHA384_Final(sha2_byte digest[], SHA384_CTX* context) { in SHA384_Final()
1049 if (digest != (sha2_byte*)0) { in SHA384_Final()
1072 sha2_byte digest[SHA384_DIGEST_LENGTH], *d = digest; in SHA384_End()
1094 char* SHA384_Data(const sha2_byte* data, size_t len, char digest[SHA384_DIGEST_STRING_LENGTH]) { in SHA384_Data()