summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorFranck LENORMAND <franck.lenormand@nxp.com>2018-09-14 15:13:22 +0200
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:34:14 +0800
commit0ebb5c33746bbb98697a1e30dd5c7fd820e6a1f8 (patch)
treea4d7c1ca0a506f32cf422b508614d31749f3bb77 /crypto
parent80dcfcb56d3b621d8bc3a37dea8f9764a7537be2 (diff)
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 <franck.lenormand@nxp.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/tcrypt.c4
1 files changed, 0 insertions, 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;