[PATCH 6/7] net/mac80211: convert wep from arc4 to arc4blk

2010-04-03 Thread Sebastian Andrzej Siewior
ecb(arc4) is getting replaced by arc4 which is a blkcipher by itself. Signed-off-by: Sebastian Andrzej Siewior --- net/mac80211/Kconfig |3 +-- net/mac80211/wep.c | 11 +++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig

[PATCH 2/7] crypto: add blkcipher implementation of ARC4

2010-04-03 Thread Sebastian Andrzej Siewior
This is a pure blkcipher implementation of ARC4. The internal state is saved within an IV which is supplied by the user. The goal is that the cipher does not change its internal state now, only the iv changes during encryption. Cc: Signed-off-by: Sebastian Andrzej Siewior --- crypto/Kconfig |

[PATCH 7/7] net/ppp_mppe: convert from arc4 to arc4blk

2010-04-03 Thread Sebastian Andrzej Siewior
ecb(arc4) is getting replaced by arc4 which is a blkcipher by itself Cc: Signed-off-by: Sebastian Andrzej Siewior --- 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/K

[PATCH 3/7] crypto/testmgr: add testing for arc4 based on ecb(arc4)

2010-04-03 Thread Sebastian Andrzej Siewior
Signed-off-by: Sebastian Andrzej Siewior --- crypto/testmgr.c | 60 +- 1 files changed, 50 insertions(+), 10 deletions(-) diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 7620bfc..c471e04 100644 --- a/crypto/testmgr.c +++ b/crypto/testm

[PATCH 4/7] net/wireless: switch lib80211_crypt_tkip from arc4 to arc4blk

2010-04-03 Thread Sebastian Andrzej Siewior
ecb(arc4) is getting replaced by arc4 which is a blkcipher by itself. The required selects are now pulled in by LIB80211_CRYPT_TKIP instead of selecting it by every driver. Signed-off-by: Sebastian Andrzej Siewior --- net/wireless/Kconfig |2 ++ net/wireless/lib80211_crypt_tkip

[PATCH 5/7] net/wireless: switch lib80211_crypt_wep from arc4 to arc4blk

2010-04-03 Thread Sebastian Andrzej Siewior
ecb(arc4) is getting replaced by arc4 which is a blkcipher by itself. The required selects are now pulled in by LIB80211_CRYPT_WEP instead of selecting it by every driver. Since there is no dependency on ecb and arc4 therr are removed from the idividual driver. Signed-off-by: Sebastian Andrzej Sie

Convert arc4 from a cipher into a block cipher

2010-04-03 Thread Sebastian Andrzej Siewior
This patch series converts arc4 into a block cipher and converts all its users (except those in staging) to use it. The first two patches ensure that two implementations can coexist, the following patches convert each user so we remain bisectable. - lib80211_crypt_tkip was tested with ipw2200 - mac

[PATCH 1/7] crypto: rename arc4

2010-04-03 Thread Sebastian Andrzej Siewior
The blk version of arc4 is comming. The rename ensures that the request for arc4 loads both modules: this one and the new blk edition. Cc: Signed-off-by: Sebastian Andrzej Siewior --- crypto/Makefile |2 +- crypto/{arc4.c => arc4cip.c} |1 + 2 files changed, 2 insertions(+)