mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-26 09:21:28 +00:00
Add documentation for SHA2 blockwise functions
This commit is contained in:
parent
f0ffc59696
commit
d325e39c68
@ -4,6 +4,10 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* The incremental API allows hashing of individual input blocks; these blocks
|
||||
must be exactly 64 bytes each.
|
||||
Use the 'finalize' functions for any remaining bytes (possibly over 64). */
|
||||
|
||||
void sha224_inc_init(uint8_t *state);
|
||||
void sha224_inc_blocks(uint8_t *state, const uint8_t *in, size_t inblocks);
|
||||
void sha224_inc_finalize(uint8_t *out, uint8_t *state, const uint8_t *in, size_t inlen);
|
||||
|
Loading…
Reference in New Issue
Block a user