Qiang Liu
2006-Sep-23 00:44 UTC
[zfs-crypto-discuss] random number generator in Solaris kernel
Is there any a simple kernel function that could return a random number (pseudo random number) with a seed as the input? Thanks This message posted from opensolaris.org
James C. McPherson
2006-Sep-29 09:45 UTC
[zfs-crypto-discuss] random number generator in Solaris kernel
Qiang Liu wrote:> Is there any a simple kernel function that could return a random number > (pseudo random number) with a seed as the input? ThanksI suggest looking into the functionality pointed to by /usr/include/sys/random.h and poking through the source which provides that using OpenGrok. cheers, James C. McPherson -- Solaris kernel software engineer, system admin and troubleshooter http://www.jmcp.homeunix.com/blog Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson