summaryrefslogtreecommitdiff
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2009-05-06 13:29:17 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2009-06-02 08:04:46 +0400
commitf7cb80f2b9fa06730be20d17c80b12e511a36c1c (patch)
tree09bf6f66a518adbceb32b8821b671af3f2f216ac /crypto/tcrypt.c
parentf8b0d4d09dc9d0a73fcdcf6c2724650529ec417d (diff)
downloadlinux-f7cb80f2b9fa06730be20d17c80b12e511a36c1c.tar.xz
crypto: testmgr - Add ctr(aes) test vectors
Now with multi-block test vectors, all from SP800-38A, Appendix F.5. Also added ctr(aes) to case 10 in tcrypt. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index ea3b8a8db721..9e4974eb7825 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -526,6 +526,7 @@ static void do_test(int m)
tcrypt_test("cbc(aes)");
tcrypt_test("lrw(aes)");
tcrypt_test("xts(aes)");
+ tcrypt_test("ctr(aes)");
tcrypt_test("rfc3686(ctr(aes))");
break;