On Fri, Jan 21, 2011 at 11:35:17PM +1100, Herbert Xu wrote:
> On Fri, Jan 21, 2011 at 07:09:50AM -0500, Neil Horman wrote:
> >
> > I take your point, but I'm not certain I agree that we are duplicating an
> > existing user interface.  A cursory glance would say that we are, but
> > /dev/random and /dev/urandom really just provide access to the kernels 
> > entropy
> > pools, whereas the AF_ALG provides access to instances of any RNG the 
> > kernel has
> > to offer as well as the key management services that AF_ALG has, which I 
> > think
> > is adventageous, given that the CPRNG requires keying to work properly.
> 
> I'm not talking about /dev/random, I'm talking the hwrng interface
> in drivers/char/hwrng.
> 
Doh!  I'm sorry, that was stupid of me.  Yes that makes alot more sense.  I'll
try another pass, adding the cprng to that interface instead.

Thanks!
Neil

> Cheers,
> -- 
> Email: Herbert Xu <herb...@gondor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to