Messages in this thread | | | Date | Mon, 4 May 2009 19:48:03 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH 1/2] add infrastructure for ansi_cprng self-tests |
| |
On Wed, Apr 29, 2009 at 06:55:01AM -0400, Neil Horman wrote: > On Tue, Apr 28, 2009 at 09:28:13PM -0400, Jarod Wilson wrote: > > Add some necessary infrastructure to make it possible to run > > self-tests for ansi_cprng. The bits are likely very specific > > to the ANSI X9.31 CPRNG in AES mode, and thus perhaps should > > be named more specifically if/when we grow additional CPRNG > > support... > > > > Successfully tested against the cryptodev-2.6 tree and a > > Red Hat Enterprise Linux 5.x kernel with the follow-on > > patch that adds the actual test vectors. > > > > Signed-off-by: Jarod Wilson <jarod@redhat.com> > > > Thanks Jarod! > Acked-by: Neil Horman <nhorman@tuxdriver.com>
Both patches applied. Thanks!
In future this should be moved to user-space where we can perform more complicated tests such as entropy testing.
Of course we need to finish the user-space API first :)
Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |