From: Gilad Ben-Yossef Date: Thu, 20 Sep 2018 13:18:40 +0000 (+0100) Subject: crypto: tcrypt - add OFB functional tests X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~6074^2~34 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=dfb89ab3f0a7df2a0a44f3a46572319446671f9f;p=linux.git 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 Signed-off-by: Herbert Xu --- 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: