From: Jarod Wilson Date: Mon, 4 May 2009 11:23:40 +0000 (+0800) Subject: crypto: testmgr - Add self-tests for rfc4309(ccm(aes)) X-Git-Tag: v2.6.31-rc1~352^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d667322a25ab4ecb91176db118fd663fee4da35;p=pandora-kernel.git crypto: testmgr - Add self-tests for rfc4309(ccm(aes)) Add an array of encryption and decryption + verification self-tests for rfc4309(ccm(aes)). Test vectors all come from sample FIPS CAVS files provided to Red Hat by a testing lab. Unfortunately, all the published sample vectors in RFC 3610 and NIST Special Publication 800-38C contain nonce lengths that the kernel's rfc4309 implementation doesn't support, so while using some public domain vectors would have been preferred, its not possible at this time. Signed-off-by: Jarod Wilson Signed-off-by: Herbert Xu --- Reading git-diff-tree failed