37 #define SHA256_DIGEST_SIZE (256 / 8)
38 #define SHA256_BLOCK_SIZE (512 / 8)
40 #include <znc/zncconfig.h>
59 void sha256(
const unsigned char* message,
size_t len,
unsigned char* digest);
void sha256_update(sha256_ctx *ctx, const unsigned char *message, size_t len)
#define SHA256_BLOCK_SIZE
Definition: SHA256.h:38
void sha256_final(sha256_ctx *ctx, unsigned char *digest)
void sha256(const unsigned char *message, size_t len, unsigned char *digest)
void sha256_init(sha256_ctx *ctx)
size_t tot_len
Definition: SHA256.h:50
size_t len
Definition: SHA256.h:51