Lines Matching refs:digest
602 void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) { in SHA256_Final() argument
603 sha2_word32 *d = (sha2_word32*)digest; in SHA256_Final()
610 if (digest != (sha2_byte*)0) { in SHA256_Final()
666 sha2_byte digest[SHA256_DIGEST_LENGTH], *d = digest; in SHA256_End() local
673 SHA256_Final(digest, context); in SHA256_End()
684 MEMSET_BZERO(digest, SHA256_DIGEST_LENGTH); in SHA256_End()
688 char* SHA256_Data(const sha2_byte* data, size_t len, char digest[SHA256_DIGEST_STRING_LENGTH]) { in SHA256_Data()
693 return SHA256_End(&context, digest); in SHA256_Data()
966 void SHA512_Final(sha2_byte digest[], SHA512_CTX* context) { in SHA512_Final() argument
967 sha2_word64 *d = (sha2_word64*)digest; in SHA512_Final()
973 if (digest != (sha2_byte*)0) { in SHA512_Final()
996 sha2_byte digest[SHA512_DIGEST_LENGTH], *d = digest; in SHA512_End() local
1003 SHA512_Final(digest, context); in SHA512_End()
1014 MEMSET_BZERO(digest, SHA512_DIGEST_LENGTH); in SHA512_End()
1018 char* SHA512_Data(const sha2_byte* data, size_t len, char digest[SHA512_DIGEST_STRING_LENGTH]) { in SHA512_Data()
1023 return SHA512_End(&context, digest); in SHA512_Data()
1042 void SHA384_Final(sha2_byte digest[], SHA384_CTX* context) { in SHA384_Final() argument
1043 sha2_word64 *d = (sha2_word64*)digest; in SHA384_Final()
1049 if (digest != (sha2_byte*)0) { in SHA384_Final()
1072 sha2_byte digest[SHA384_DIGEST_LENGTH], *d = digest; in SHA384_End() local
1079 SHA384_Final(digest, context); in SHA384_End()
1090 MEMSET_BZERO(digest, SHA384_DIGEST_LENGTH); in SHA384_End()
1094 char* SHA384_Data(const sha2_byte* data, size_t len, char digest[SHA384_DIGEST_STRING_LENGTH]) { in SHA384_Data()
1099 return SHA384_End(&context, digest); in SHA384_Data()