Lines Matching refs:random
44 #include <dev/random/randomdev.h>
45 #include <dev/random/YarrowCoreLib/include/yarrow.h>
194 * get a random block of data per fips 186-2
245 * If we got here, three sucessive checksums of the random number
258 panic("FIPS random self-test failed.");
272 printf ("Couldn't initialize Yarrow, /dev/random will not work.\n");
309 gYarrowGrp = lck_grp_alloc_init("random", gYarrowGrpAttr);
338 panic("FIPS random self test failed");
342 // now do the random block again to make sure that userland doesn't get predicatable data
374 UID_ROOT, GID_WHEEL, 0666, "random", 0);
535 /* export good random numbers to the rest of the kernel */
570 * Return an unsigned long pseudo-random number.