49#ifndef HASHES_SHA224_H
50#define HASHES_SHA224_H
64#define SHA224_DIGEST_LENGTH (28)
69#define SHA224_INTERNAL_BLOCK_SIZE (64)
116void sha224(
const void *data,
size_t len,
void *digest);
sha2xx_context_t sha224_context_t
Context for cipher operations based on sha224.
void sha224_init(sha224_context_t *ctx)
SHA-224 initialization.
static void sha224_update(sha224_context_t *ctx, const void *data, size_t len)
Add bytes into the hash.
static void sha224_final(sha224_context_t *ctx, void *digest)
SHA-224 finalization.
#define SHA224_DIGEST_LENGTH
Length of SHA224 digests in bytes.
void sha224(const void *data, size_t len, void *digest)
A wrapper function to simplify the generation of a hash, this is useful for generating sha224 for one...
void sha2xx_final(sha2xx_context_t *ctx, void *digest, size_t dig_len)
SHA-2XX finalization.
void sha2xx_update(sha2xx_context_t *ctx, const void *data, size_t len)
Add bytes into the hash.
Adds include for missing inttype definitions.
Common definitions for the SHA-224/256 hash functions.
Structure to hold the SHA-2XX context.