In the FIPs version I see that you can set a key and a seed for PRNG. I have been looking around for how to set a key in the non-FIPS (0.9.8a) version and if I read the man pages correctly (which is suspect J) it looks like this is not supportted in non-FIPS (that is, is the way you generate a rand just give a seed and call RAND_bytes?)
From FIPs version: FIPS_set_prng_key(t->keys[0],t->keys[1]); RAND_seed(t->seed,sizeof t->seed); RAND_bytes(buf,8)
Thank you!
|