1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-12-02 04:11:26 +00:00
pqcrypto/common/randombytes.h

14 lines
190 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 xlen);
2019-01-15 14:35:25 +00:00
#endif