Add documentation for SHA2 blockwise functions

This commit is contained in:
Joost Rijneveld 2019-03-13 17:23:30 +01:00
父節點 f0ffc59696
當前提交 d325e39c68
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: A4FE39CF49CBC553

查看文件

@ -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);