21#ifndef HASHES_SHA384_H
22#define HASHES_SHA384_H
36#define SHA384_DIGEST_LENGTH (48)
41#define SHA384_INTERNAL_BLOCK_SIZE (128)
89void sha384(
const void *data,
size_t len,
void *digest);
static void sha384_final(sha384_context_t *ctx, void *digest)
SHA-384 finalization.
#define SHA384_DIGEST_LENGTH
Length of SHA384 digests in bytes.
static void sha384_update(sha384_context_t *ctx, const void *data, size_t len)
Add bytes into the hash.
void sha384_init(sha384_context_t *ctx)
SHA-384 initialization.
void sha384(const void *data, size_t len, void *digest)
A wrapper function to simplify the generation of a hash.
sha512_common_context_t sha384_context_t
Context for cipher operations based on sha384.
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.