summaryrefslogtreecommitdiff
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-04-07 20:06:51 -0700
committerJohannes Berg <johannes.berg@intel.com>2026-04-08 10:11:37 +0200
commit8c6d03b7a249ffe85ba2bda09a2a7614c0ff03db (patch)
treef896b9a38b8b940eb1ef6243e0ced542646450d3 /crypto/tcrypt.c
parent32a0e1c63cdfaa9a6f1405b552b5f9eb2be61c59 (diff)
downloadlinux-next-8c6d03b7a249ffe85ba2bda09a2a7614c0ff03db.tar.gz
linux-next-8c6d03b7a249ffe85ba2bda09a2a7614c0ff03db.zip
crypto: Remove michael_mic from crypto_shash API
Remove the "michael_mic" crypto_shash algorithm, since it's no longer used. Its only users were wireless drivers, which have now been converted to use the michael_mic() function instead. It makes sense that no other users ever appeared: Michael MIC is an insecure algorithm that is specific to WPA TKIP, which itself was an interim security solution to replace the broken WEP standard. Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Eric Biggers <ebiggers@kernel.org> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Link: https://patch.msgid.link/20260408030651.80336-7-ebiggers@kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index aded37546137..24f0ccc76796 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1557,10 +1557,6 @@ static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb)
ret = min(ret, tcrypt_test("ecb(arc4)"));
break;
- case 17:
- ret = min(ret, tcrypt_test("michael_mic"));
- break;
-
case 18:
ret = min(ret, tcrypt_test("crc32c"));
break;