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

Common definitions for the SHA-512 hash function. More...

Detailed Description

Common definitions for the SHA-512 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_common.h.

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

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.