#include #include #undef long #undef ulong #include void genrandom(uchar *buf, int nbytes) { getentropy(buf, nbytes); }