1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-27 01:41:40 +00:00
pqcrypto/common/randombytes.h

14 lines
183 B
C
Raw Normal View History

2019-01-15 14:35:25 +00:00
#ifndef RANDOMBYTES_H
#define RANDOMBYTES_H
#include <stdint.h>
2019-01-15 14:35:25 +00:00
#ifdef _WIN32
#include <CRTDEFS.H>
#else
#include <unistd.h>
#endif
int randombytes(uint8_t *buf, size_t n);
2019-01-15 14:35:25 +00:00
#endif