2019-01-15 14:35:25 +00:00
|
|
|
#ifndef RANDOMBYTES_H
|
|
|
|
#define RANDOMBYTES_H
|
2019-01-16 07:18:33 +00:00
|
|
|
#include <stdint.h>
|
2019-01-15 14:35:25 +00:00
|
|
|
|
2019-02-06 16:20:31 +00:00
|
|
|
#ifdef _WIN32
|
2019-02-11 09:05:54 +00:00
|
|
|
#include <CRTDEFS.H>
|
2019-02-06 16:20:31 +00:00
|
|
|
#else
|
2019-02-11 09:05:54 +00:00
|
|
|
#include <unistd.h>
|
2019-02-06 16:20:31 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
int randombytes(uint8_t *buf, size_t xlen);
|
2019-01-15 14:35:25 +00:00
|
|
|
|
|
|
|
#endif
|