#include "os.h"
#include <9pm/mp.h>
#include <9pm/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();
}


syntax highlighted by Code2HTML, v. 0.9.1