ref: e0745d0e8dcbb020e6b5debb46d8dcc24a1d6fc7
dir: /sys/src/libsec/port/fastrand.c/
#include <u.h>
#include <libc.h>
#include <libsec.h>
/*
* use the X917 random number generator to create random
* numbers (faster than truerand() but not as random).
*/
ulong
fastrand(void)
{
ulong x;
genrandom((uchar*)&x, sizeof x);
return x;
}