On Wed, Dec 22, 2010 at 04:29:59PM +0100, Kurt Knochner wrote: > 2010/12/22 Theo de Raadt <dera...@cvs.openbsd.org>: > > Go ahead, do a FIPS check on it. You will be doing a FIPS check on > > 4096 bytes here, then a gap of unknown length, then 4096 bytes here, > > then a gap of unknown length, then 4096 bytes here, then a gap of > > unknown length, ....
> Do you have a hint, how I could emit the random values from arc4random > in a "clever" way? This isn't even remotely clever, but printf() and some base64 encoding should work fine for a one-off experiment. There *is* a limit to how much you can print before you fill up the dmesg; if insufficient, try compiling with a CONFIG.MP_LARGEBUF like this: --- include "arch/amd64/conf/GENERIC.MP" option MSGBUFSIZE=131072 --- You may wish to look at misc/ent. Joachim