Re: [PATCH 0/2] RNG: Add Pseudo Random Number Generator to kernel

2008-07-07 Thread Herbert Xu
On Thu, Jul 03, 2008 at 04:19:24PM -0400, Neil Horman wrote: > This patchset add a pseudo random number generator to the kernel crypto > library. > Usefull in assisting with the implementation of various FIPS compliant ipsec > algorithms. Based on the suggestions provided in ANSI X9.31 Appendix A

Re: [PATCH 0/2] RNG: Add Pseudo Random Number Generator to kernel

2008-07-04 Thread Neil Horman
On Fri, Jul 04, 2008 at 10:44:15AM +0200, Sebastian Siewior wrote: > * Neil Horman | 2008-07-03 22:10:28 [-0400]: > > >On Fri, Jul 04, 2008 at 01:36:33AM +0200, Andi Kleen wrote: > >> Sebastian Siewior <[EMAIL PROTECTED]> writes: > >> > > >> > Anything wrong with get_random_bytes()? > >> > Whats t

Re: [PATCH 0/2] RNG: Add Pseudo Random Number Generator to kernel

2008-07-04 Thread Sebastian Siewior
* Neil Horman | 2008-07-03 22:10:28 [-0400]: >On Fri, Jul 04, 2008 at 01:36:33AM +0200, Andi Kleen wrote: >> Sebastian Siewior <[EMAIL PROTECTED]> writes: >> > >> > Anything wrong with get_random_bytes()? >> > Whats the advantage over get_random_bytes()? >> >> get_random_bytes() is not a _pseudo_

Re: [PATCH 0/2] RNG: Add Pseudo Random Number Generator to kernel

2008-07-03 Thread Neil Horman
On Fri, Jul 04, 2008 at 01:36:33AM +0200, Andi Kleen wrote: > Sebastian Siewior <[EMAIL PROTECTED]> writes: > > > > Anything wrong with get_random_bytes()? > > Whats the advantage over get_random_bytes()? > > get_random_bytes() is not a _pseudo_ random number generator, > it doesn't have a seed an

Re: [PATCH 0/2] RNG: Add Pseudo Random Number Generator to kernel

2008-07-03 Thread Andi Kleen
Sebastian Siewior <[EMAIL PROTECTED]> writes: > > Anything wrong with get_random_bytes()? > Whats the advantage over get_random_bytes()? get_random_bytes() is not a _pseudo_ random number generator, it doesn't have a seed and you cannot get repeatable sequences out of it. random32.c is though, bu

Re: [PATCH 0/2] RNG: Add Pseudo Random Number Generator to kernel

2008-07-03 Thread Sebastian Siewior
* Neil Horman | 2008-07-03 16:19:24 [-0400]: >This patchset add a pseudo random number generator to the kernel crypto >library. >Usefull in assisting with the implementation of various FIPS compliant ipsec >algorithms. Based on the suggestions provided in ANSI X9.31 Appendix A.2.4. >Tested succe

[PATCH 0/2] RNG: Add Pseudo Random Number Generator to kernel

2008-07-03 Thread Neil Horman
This patchset add a pseudo random number generator to the kernel crypto library. Usefull in assisting with the implementation of various FIPS compliant ipsec algorithms. Based on the suggestions provided in ANSI X9.31 Appendix A.2.4. Tested successfully by myself. Set consists of two parts: 1/2: