summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-09-20 14:18:40 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-09-28 12:46:26 +0800
commitdfb89ab3f0a7df2a0a44f3a46572319446671f9f (patch)
treee4d6b258b6b2ac4a7039c4dbd3b8f9b683481ac1
parente497c51896b3babfb14a36e497fd36a15f56cfa4 (diff)
downloadlinux-dfb89ab3f0a7df2a0a44f3a46572319446671f9f.tar.gz
linux-dfb89ab3f0a7df2a0a44f3a46572319446671f9f.tar.bz2
linux-dfb89ab3f0a7df2a0a44f3a46572319446671f9f.zip
crypto: tcrypt - add OFB functional tests
We already have OFB test vectors and tcrypt OFB speed tests. Add OFB functional tests to tcrypt as well. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/tcrypt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 9430744b6f8e..c20c9f5c18f2 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1735,6 +1735,7 @@ static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb)
ret += tcrypt_test("xts(aes)");
ret += tcrypt_test("ctr(aes)");
ret += tcrypt_test("rfc3686(ctr(aes))");
+ ret += tcrypt_test("ofb(aes)");
break;
case 11: