From: Jarod Wilson Date: Mon, 4 May 2009 11:44:50 +0000 (+0800) Subject: crypto: testmgr - Add infrastructure for ansi_cprng self-tests X-Git-Tag: v2.6.31-rc1~352^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7647d6ce2077d9e1c3d72359f6b4492be129cfe8;p=pandora-kernel.git crypto: testmgr - Add infrastructure for ansi_cprng self-tests 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 Acked-by: Neil Horman Signed-off-by: Herbert Xu --- Reading git-diff-tree failed