Am Samstag 01 Mai 2010 23:11:28 schrieb Greg Oldendick:
> On May 1, 2010, at 6:32 AM, Richard Troth wrote:
>
> > But the crypto cards have their own API. I'n asking about the kernel's
> > entropy function. Or is there a way to get the kernel to use the
> > crypto?
> >
> >
>
>
> If you have the crypto card, you can load the prng.ko kernel module. It will 
> create a /dev/prandom device you can read from.

/dev/prandom is hardware supported pseudo random.
See "Device Drivers, Features, and Commands" page 297 (313 in acrobat)
http://public.dhe.ibm.com/software/dw/linux390/docu/lk33dd05.pdf

The real random numbers from the crypto cards is available via /dev/hw_random
See page 294 (310).

If your application needs to use /dev/random, I think there are tools or
daemons that feed entropy from hw_random into random.


Christian

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to