rand -- how to set_prng_key

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

rand -- how to set_prng_key


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:


RAND_seed(t->seed,sizeof t->seed);



Thank you!