summaryrefslogtreecommitdiff
path: root/drivers/net/ppp/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-06-12 18:19:58 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-06-20 14:19:55 +0800
commit0e5a610b5ca52ca4fa0705c87114310a95cfbe34 (patch)
tree9a887bfe482b57bc4a54b4b7d98c998ad5a55c46 /drivers/net/ppp/Kconfig
parent611a23c2d3961d2ec72f42582ee88755f9a03cee (diff)
ppp: mppe: switch to RC4 library interface
The MPPE code uses the sync skcipher to invoke the ecb(arc4) skcipher, of which only a single generic C code implementation exists. This means that going through all the trouble of using scatterlists etc buys us very little, and we're better off just invoking the arc4 library directly. Note that the SHA1 shash used by this driver has several accelerated implementations for various architectures, so retaining that part does make sense. Cc: linux-ppp@vger.kernel.org Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/net/ppp/Kconfig')
-rw-r--r--drivers/net/ppp/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ppp/Kconfig b/drivers/net/ppp/Kconfig
index 1373c6d7278d..dc3f231cfd97 100644
--- a/drivers/net/ppp/Kconfig
+++ b/drivers/net/ppp/Kconfig
@@ -86,8 +86,7 @@ config PPP_MPPE
depends on PPP
select CRYPTO
select CRYPTO_SHA1
- select CRYPTO_ARC4
- select CRYPTO_ECB
+ select CRYPTO_LIB_ARC4
---help---
Support for the MPPE Encryption protocol, as employed by the
Microsoft Point-to-Point Tunneling Protocol.