include headers for memcpy and size_t in sha implementations

This commit is contained in:
Thomas Fussell 2017-04-13 22:31:44 -04:00
parent 28cee5f14b
commit b0f1bf4b77
3 changed files with 4 additions and 0 deletions

BIN
samples/data/cafe.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -22,7 +22,9 @@
* Software.
*/
#include <stddef.h>
#include <stdint.h>
#include <string.h>
void sha1_compress(uint32_t state[5], const uint8_t block[64]) {

View File

@ -22,7 +22,9 @@
* Software.
*/
#include <stddef.h>
#include <stdint.h>
#include <string.h>
void sha512_compress(uint64_t state[8], const uint8_t block[128]) {