From f389c802aa7bc3dc6cc6be2a486fe38807e9c95c Mon Sep 17 00:00:00 2001 From: Franck LENORMAND Date: Fri, 14 Sep 2018 15:13:22 +0200 Subject: [PATCH] MLK-19365: crypto: tcrypt: Remove testing of hmac(crc32) The kernel implementation of crc32 (crc32_generic.c) accepts a key to set a seed. It is incompatible with the kernel implementation of the crypto template hmac which does not support keyed algorithms. So it is not possible to load the algorithm hmac(crc32) so remove it from tcrypt. Signed-off-by: Franck LENORMAND --- crypto/tcrypt.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index f7affe7cf0b4..8daf4c3a3e53 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -1316,10 +1316,6 @@ static int do_test(const char *alg, u32 type, u32 mask, int m) ret += tcrypt_test("vmac(aes)"); break; - case 110: - ret += tcrypt_test("hmac(crc32)"); - break; - case 111: ret += tcrypt_test("hmac(sha3-224)"); break;