pqc/common/sha2.h

14 lines
259 B
C
Raw Normal View History

2019-01-15 14:35:25 +00:00
#ifndef SHA2_H
#define SHA2_H
2019-03-11 13:41:11 +00:00
#include <stddef.h>
#include <stdint.h>
int sha256(uint8_t *out, const uint8_t *in, size_t inlen);
2019-02-17 10:54:38 +00:00
int sha384(uint8_t *out, const uint8_t *in, size_t inlen);
2019-03-11 13:41:11 +00:00
2019-02-17 10:54:38 +00:00
int sha512(uint8_t *out, const uint8_t *in, size_t inlen);
2019-01-15 14:35:25 +00:00
#endif