]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - crypto/tcrypt.c
crypto: tcrypt - add missing tests for camellia and ghash
[karo-tx-linux.git] / crypto / tcrypt.c
index 1ac77b720b2ddfde3d251398eafa76ff80cd016e..e87fa60f58311f4d471686009f500087afae9ce5 100644 (file)
@@ -1112,6 +1112,9 @@ static int do_test(int m)
        case 32:
                ret += tcrypt_test("ecb(camellia)");
                ret += tcrypt_test("cbc(camellia)");
+               ret += tcrypt_test("ctr(camellia)");
+               ret += tcrypt_test("lrw(camellia)");
+               ret += tcrypt_test("xts(camellia)");
                break;
        case 33:
                ret += tcrypt_test("sha224");
@@ -1165,6 +1168,10 @@ static int do_test(int m)
                ret += tcrypt_test("rfc4309(ccm(aes))");
                break;
 
+       case 46:
+               ret += tcrypt_test("ghash");
+               break;
+
        case 100:
                ret += tcrypt_test("hmac(md5)");
                break;