Loading...
Searching...
No Matches
sha2xx_common.h File Reference

Common definitions for the SHA-224/256 hash functions. More...

Detailed Description

Common definitions for the SHA-224/256 hash functions.

Author
Colin Percival
Christian Mehlis
Rene Kijewski
Hermann Lelong
Peter Kietzmann

Definition in file sha2xx_common.h.

#include <string.h>
#include <stdint.h>
+ Include dependency graph for sha2xx_common.h:
+ This graph shows which files directly or indirectly include this file:

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.