33 #define SHA256_BLOCK_LENGTH 64
34 #define SHA256_DIGEST_LENGTH 32
35 #define SHA256_DIGEST_STRING_LENGTH (SHA256_DIGEST_LENGTH * 2 + 1)
APR Platform Definitions.
#define SHA256_DIGEST_STRING_LENGTH
Definition: sha2.h:35
#define SHA256_DIGEST_LENGTH
Definition: sha2.h:34
char * apr__SHA256_Data(const apr_byte_t *, size_t, char[SHA256_DIGEST_STRING_LENGTH])
void apr__SHA256_Update(SHA256_CTX *, const apr_byte_t *, size_t)
char * apr__SHA256_End(SHA256_CTX *, char[SHA256_DIGEST_STRING_LENGTH])
struct _SHA256_CTX SHA256_CTX
void apr__SHA256_Init(SHA256_CTX *)
void apr__SHA256_Final(apr_byte_t[SHA256_DIGEST_LENGTH], SHA256_CTX *)
#define SHA256_BLOCK_LENGTH
Definition: sha2.h:33
apr_byte_t buffer[SHA256_BLOCK_LENGTH]
Definition: sha2.h:42
apr_uint32_t state[8]
Definition: sha2.h:40
apr_uint64_t bitcount
Definition: sha2.h:41