pqc/common/sha2.h
Joost Rijneveld 6d84aec3db
Add SHA256
2019-03-11 16:50:00 +01:00

14 lines
259 B
C

#ifndef SHA2_H
#define SHA2_H
#include <stddef.h>
#include <stdint.h>
int sha256(uint8_t *out, const uint8_t *in, size_t inlen);
int sha384(uint8_t *out, const uint8_t *in, size_t inlen);
int sha512(uint8_t *out, const uint8_t *in, size_t inlen);
#endif