Re: [PATCH] prng: fix a few misc bugs in prng

2008-07-17 Thread Neil Horman
On Thu, Jul 17, 2008 at 03:46:15PM +0800, Herbert Xu wrote: > On Wed, Jul 16, 2008 at 04:29:16PM -0400, Neil Horman wrote: > > > > Fixing a few misc bugs in prng.c: > > - Remove prng_key/prng_iv from prng_context (both kept in tfm ptr) > > - Making _get_more_prng_bytes return meaningful err cod

Re: [PATCH] prng: fix a few misc bugs in prng

2008-07-17 Thread Herbert Xu
On Wed, Jul 16, 2008 at 04:29:16PM -0400, Neil Horman wrote: > > Fixing a few misc bugs in prng.c: > - Remove prng_key/prng_iv from prng_context (both kept in tfm ptr) > - Making _get_more_prng_bytes return meaningful err codes (not just -1/0) > > Signed-off-by: Neil Horman <[EMAIL PROTEC

[PATCH] prng: fix a few misc bugs in prng

2008-07-16 Thread Neil Horman
Fixing a few misc bugs in prng.c: - Remove prng_key/prng_iv from prng_context (both kept in tfm ptr) - Making _get_more_prng_bytes return meaningful err codes (not just -1/0) Signed-off-by: Neil Horman <[EMAIL PROTECTED]> crypto/prng.c | 26 +- firmware/Ma