Header definitions for the SHA512/256 hash function. More...
Header definitions for the SHA512/256 hash function.
Definition in file sha512_256.h.
Go to the source code of this file.
Macros | |
#define | SHA512_256_DIGEST_LENGTH (32) |
Length of SHA512_256 digests in bytes. | |
#define | SHA512_256_INTERNAL_BLOCK_SIZE (128) |
1024 Bit (128 Byte) internally used block size for sha512_256 | |
Typedefs | |
typedef sha512_common_context_t | sha512_256_context_t |
Context for cipher operations based on sha512_256. | |
Functions | |
void | sha512_256_init (sha512_256_context_t *ctx) |
SHA-512/256 initialization. | |
static void | sha512_256_update (sha512_256_context_t *ctx, const void *data, size_t len) |
Add bytes into the hash. | |
static void | sha512_256_final (sha512_256_context_t *ctx, void *digest) |
SHA-512/256 finalization. | |
void | sha512_256 (const void *data, size_t len, void *digest) |
A wrapper function to simplify the generation of a hash. | |