ref: 673bb2f19f13a189a9cc8924ebe3c06b56c4cc3b dir: /libsec/prng.c/
#include "os.h" #include <libsec.h> // // just use the libc prng to fill a buffer // void prng(uchar *p, int n) { uchar *e; for(e = p+n; p < e; p++) *p = rand(); }