Loading...
Searching...
No Matches

Header definitions for the SHA512/224 hash function. More...

Detailed Description

Header definitions for the SHA512/224 hash function.

Author
Mikolai Gütschow mikol.nosp@m.ai.g.nosp@m.uetsc.nosp@m.how@.nosp@m.tu-dr.nosp@m.esde.nosp@m.n.de

Definition in file sha512_224.h.

#include <inttypes.h>
#include <stddef.h>
#include "hashes/sha512_common.h"
+ Include dependency graph for sha512_224.h:

Go to the source code of this file.

Macros

#define SHA512_224_DIGEST_LENGTH   (28)
 Length of SHA512_224 digests in bytes.
 
#define SHA512_224_INTERNAL_BLOCK_SIZE   (128)
 1024 Bit (128 Byte) internally used block size for sha512_224
 

Typedefs

typedef sha512_common_context_t sha512_224_context_t
 Context for cipher operations based on sha512_224.
 

Functions

void sha512_224_init (sha512_224_context_t *ctx)
 SHA-512/224 initialization.
 
static void sha512_224_update (sha512_224_context_t *ctx, const void *data, size_t len)
 Add bytes into the hash.
 
static void sha512_224_final (sha512_224_context_t *ctx, void *digest)
 SHA-512/224 finalization.
 
void sha512_224 (const void *data, size_t len, void *digest)
 A wrapper function to simplify the generation of a hash.