summaryrefslogtreecommitdiffstats
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2009-05-04 13:23:40 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2009-06-02 06:04:36 +0200
commit5d667322a25ab4ecb91176db118fd663fee4da35 (patch)
tree0dea05fd2e59b7854370a871fb8f9bb30e5ed94e /crypto/cipher.c
parentcrypto: testmgr - Handle AEAD test vectors expected to fail verification (diff)
downloadlinux-5d667322a25ab4ecb91176db118fd663fee4da35.tar.xz
linux-5d667322a25ab4ecb91176db118fd663fee4da35.zip
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 <jarod@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions