1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-30 03:11:43 +00:00
pqcrypto/common/randombytes.h

14 lines
186 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