ref: 396f8f369db25a0d6b0120ea08ecc84d089b8202 dir: tlsclient/libc/genrandom.c
#include <u.h> #include <libc.h> #undef long #undef ulong #include <sys/random.h> void genrandom(uchar *buf, int nbytes) { getrandom(buf, nbytes, 0); }