Skip to content

Commit b66ad0b

Browse files
horiagherbertx
authored andcommitted
crypto: tcrypt - remove AES-XTS-192 speed tests
Remove xts(aes) speed tests with 2 x 192-bit keys, since implementations adhering strictly to IEEE 1619-2007 standard cannot cope with key sizes other than 2 x 128, 2 x 256 bits - i.e. AES-XTS-{128,256}: [...] tcrypt: test 5 (384 bit key, 16 byte blocks): caam_jr 8020000.jr: key size mismatch tcrypt: setkey() failed flags=200000 [...] Signed-off-by: Horia Geantă <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 0138d32 commit b66ad0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crypto/tcrypt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,9 +1404,9 @@ static int do_test(const char *alg, u32 type, u32 mask, int m)
14041404
test_cipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0,
14051405
speed_template_32_40_48);
14061406
test_cipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0,
1407-
speed_template_32_48_64);
1407+
speed_template_32_64);
14081408
test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0,
1409-
speed_template_32_48_64);
1409+
speed_template_32_64);
14101410
test_cipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0,
14111411
speed_template_16_24_32);
14121412
test_cipher_speed("cts(cbc(aes))", DECRYPT, sec, NULL, 0,
@@ -1837,9 +1837,9 @@ static int do_test(const char *alg, u32 type, u32 mask, int m)
18371837
test_acipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0,
18381838
speed_template_32_40_48);
18391839
test_acipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0,
1840-
speed_template_32_48_64);
1840+
speed_template_32_64);
18411841
test_acipher_speed("xts(aes)", DECRYPT, sec, NULL, 0,
1842-
speed_template_32_48_64);
1842+
speed_template_32_64);
18431843
test_acipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0,
18441844
speed_template_16_24_32);
18451845
test_acipher_speed("cts(cbc(aes))", DECRYPT, sec, NULL, 0,

0 commit comments

Comments
 (0)