50 #include <sys/types.h>
52 #ifdef SHA2_USE_INTTYPES_H
59 #define SHA256_BLOCK_LENGTH 64
60 #define SHA256_DIGEST_LENGTH 32
61 #define SHA256_DIGEST_STRING_LENGTH (SHA256_DIGEST_LENGTH * 2 + 1)
62 #define SHA384_BLOCK_LENGTH 128
63 #define SHA384_DIGEST_LENGTH 48
64 #define SHA384_DIGEST_STRING_LENGTH (SHA384_DIGEST_LENGTH * 2 + 1)
65 #define SHA512_BLOCK_LENGTH 128
66 #define SHA512_DIGEST_LENGTH 64
67 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
75 #define u_int8_t unsigned char
76 #define u_int32_t unsigned int
77 #define u_int64_t unsigned long long
96 #define SHA256_BLOCK_LENGTH 64
103 #define SHA384_BLOCK_LENGTH 128
104 #define SHA512_BLOCK_LENGTH 128
114 #ifdef SHA2_USE_INTTYPES_H
void SHA384_Init(RZ_SHA384_CTX *)
#define SHA256_DIGEST_STRING_LENGTH
void SHA512_Update(RZ_SHA512_CTX *, const u_int8_t *, size_t)
char * SHA384_Data(const u_int8_t *, size_t, char[SHA384_DIGEST_STRING_LENGTH])
void SHA256_Final(u_int8_t *, RZ_SHA256_CTX *)
void SHA256_Update(RZ_SHA256_CTX *, const u_int8_t *, size_t)
void SHA512_Final(u_int8_t *, RZ_SHA512_CTX *)
struct _SHA512_CTX RZ_SHA512_CTX
char * SHA256_End(RZ_SHA256_CTX *, char *)
char * SHA256_Data(const u_int8_t *, size_t, char[SHA256_DIGEST_STRING_LENGTH])
#define SHA384_DIGEST_STRING_LENGTH
char * SHA384_End(RZ_SHA384_CTX *, char *)
void SHA384_Update(RZ_SHA384_CTX *, const u_int8_t *, size_t)
#define SHA512_BLOCK_LENGTH
void SHA512_Init(RZ_SHA512_CTX *)
#define SHA512_DIGEST_STRING_LENGTH
void SHA384_Final(u_int8_t *, RZ_SHA384_CTX *)
RZ_SHA512_CTX RZ_SHA384_CTX
struct _SHA256_CTX RZ_SHA256_CTX
char * SHA512_Data(const u_int8_t *, size_t, char[SHA512_DIGEST_STRING_LENGTH])
void SHA256_Init(RZ_SHA256_CTX *)
#define SHA256_BLOCK_LENGTH
char * SHA512_End(RZ_SHA512_CTX *, char *)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()