Common definitions for the SHA-512 hash function. More...
Common definitions for the SHA-512 hash function.
Definition in file sha512_common.h.
#include <string.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | sha512_common_context_t |
Structure to hold the SHA-512 context. More... | |
Functions | |
void | sha512_common_pad (sha512_common_context_t *ctx) |
SHA-512 initialization. | |
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. | |