pqc/common/randombytes.h

14 lines
183 B
C
Raw Permalink 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