diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-06-12 19:19:58 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-06-20 09:19:55 +0300 |
commit | 0e5a610b5ca52ca4fa0705c87114310a95cfbe34 (patch) | |
tree | 9a887bfe482b57bc4a54b4b7d98c998ad5a55c46 /drivers/net/ppp/Kconfig | |
parent | 611a23c2d3961d2ec72f42582ee88755f9a03cee (diff) | |
download | linux-0e5a610b5ca52ca4fa0705c87114310a95cfbe34.tar.xz |
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/Kconfig | 3 |
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. |