]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
tcrypt: add OFB test to mode 10
authorShravani Dingari <shravanid@nvidia.com>
Fri, 16 Sep 2016 05:18:41 +0000 (10:48 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 20 Sep 2016 19:08:31 +0000 (12:08 -0700)
add ofb-aes test to mode 10 which
tests ecb,cbc and ctr currently

Bug 1794633

Change-Id: I4fef21c0d441861ccd16689d324ffa0304a5c353
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/1221715
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
crypto/tcrypt.c

index 2787cdff6af5e3343eee8f50a6109ee5cfddbce4..657b2027bd116827b653377c1f0c4a14991d1c8c 100644 (file)
@@ -1575,6 +1575,7 @@ static int do_test(const char *alg, u32 type, u32 mask, int m)
                ret += tcrypt_test("ecb(aes)");
                ret += tcrypt_test("cbc(aes)");
                ret += tcrypt_test("ctr(aes)");
+               ret += tcrypt_test("ofb(aes)");
                break;
 
        case 11: