net/lib80211: move WEP handling to ARC4 library code

The crypto API abstraction is not very useful for invoking ciphers
directly, especially in the case of arc4, which only has a generic
implementation in C. So let's invoke the library code directly.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Ard Biesheuvel
2019-06-12 18:19:55 +02:00
committed by Herbert Xu
parent 5fdb373570
commit af1f3d327d
2 changed files with 14 additions and 38 deletions

View File

@@ -212,6 +212,7 @@ config LIB80211
config LIB80211_CRYPT_WEP
tristate
select CRYPTO_LIB_ARC4
config LIB80211_CRYPT_CCMP
tristate