21#ifndef HASHES_SHA512_224_H
22#define HASHES_SHA512_224_H
36#define SHA512_224_DIGEST_LENGTH (28)
41#define SHA512_224_INTERNAL_BLOCK_SIZE (128)
89void sha512_224(
const void *data,
size_t len,
void *digest);
void sha512_224_init(sha512_224_context_t *ctx)
SHA-512/224 initialization.
void sha512_224(const void *data, size_t len, void *digest)
A wrapper function to simplify the generation of a hash.
static void sha512_224_final(sha512_224_context_t *ctx, void *digest)
SHA-512/224 finalization.
sha512_common_context_t sha512_224_context_t
Context for cipher operations based on sha512_224.
#define SHA512_224_DIGEST_LENGTH
Length of SHA512_224 digests in bytes.
static void sha512_224_update(sha512_224_context_t *ctx, const void *data, size_t len)
Add bytes into the hash.
void sha512_common_update(sha512_common_context_t *ctx, const void *data, size_t len)
Add bytes into the hash.
void sha512_common_final(sha512_common_context_t *ctx, void *digest, size_t dig_len)
SHA-512 finalization.
Adds include for missing inttype definitions.
Common definitions for the SHA-512 hash function.
Structure to hold the SHA-512 context.