projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e497c51
)
crypto: tcrypt - add OFB functional tests
author
Gilad Ben-Yossef
<gilad@benyossef.com>
Thu, 20 Sep 2018 13:18:40 +0000
(14:18 +0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 28 Sep 2018 04:46:26 +0000
(12:46 +0800)
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>
crypto/tcrypt.c
patch
|
blob
|
history
diff --git
a/crypto/tcrypt.c
b/crypto/tcrypt.c
index
9430744
..
c20c9f5
100644
(file)
--- 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: