3 Apr 2010 09:49
[PATCH 7/7] net/ppp_mppe: convert from arc4 to arc4blk
Sebastian Andrzej Siewior <sebastian <at> breakpoint.cc>
2010-04-03 07:49:29 GMT
2010-04-03 07:49:29 GMT
ecb(arc4) is getting replaced by arc4 which is a blkcipher by itself
Cc: <linux-ppp <at> vger.kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <sebastian <at> breakpoint.cc>
---
drivers/net/Kconfig | 3 +--
drivers/net/ppp_mppe.c | 12 ++++++------
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index dd9a09c..4b5dd86 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
<at> <at> -3075,8 +3075,7 <at> <at> config PPP_MPPE
depends on PPP && EXPERIMENTAL
select CRYPTO
select CRYPTO_SHA1
- select CRYPTO_ARC4
- select CRYPTO_ECB
+ select CRYPTO_ARC4BLK
---help---
Support for the MPPE Encryption protocol, as employed by the
Microsoft Point-to-Point Tunneling Protocol.
diff --git a/drivers/net/ppp_mppe.c b/drivers/net/ppp_mppe.c
index 6d1a1b8..4deaf70 100644
--- a/drivers/net/ppp_mppe.c
+++ b/drivers/net/ppp_mppe.c
<at> <at> -42,7 +42,6 <at> <at>
* MOD_DEC_USAGE_COUNT/MOD_INC_USAGE_COUNT which are
* deprecated in 2.6
(Continue reading)
RSS Feed