Common definitions for the SHA-224/256 hash functions. More...
Common definitions for the SHA-224/256 hash functions.
Definition in file sha2xx_common.h.
#include <string.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | sha2xx_context_t |
Structure to hold the SHA-2XX context. More... | |
Functions | |
void | sha2xx_pad (sha2xx_context_t *ctx) |
SHA-2XX initialization. | |
void | sha2xx_update (sha2xx_context_t *ctx, const void *data, size_t len) |
Add bytes into the hash. | |
void | sha2xx_final (sha2xx_context_t *ctx, void *digest, size_t dig_len) |
SHA-2XX finalization. | |