summaryrefslogtreecommitdiff
path: root/crypto/api.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2009-05-04 19:23:40 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-06-02 14:04:36 +1000
commit7a7475c0d345bc9889fc385ae89293d62e0b89fe (patch)
treefa342ab376938b93be4ac747ddedd7b4cc3ee8c5 /crypto/api.c
parent0d8a6c2fb7bf21a2b9eee172ce938adaacfc8402 (diff)
downloadlinux-crypto-7a7475c0d345bc9889fc385ae89293d62e0b89fe.tar.gz
linux-crypto-7a7475c0d345bc9889fc385ae89293d62e0b89fe.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/api.c')
0 files changed, 0 insertions, 0 deletions