Re: [take1] d80211: switch crypto to use new ciphers API

2006-11-02 Thread John W. Linville
On Mon, Oct 30, 2006 at 10:08:58AM -0800, David Kimdon wrote: > On Thu, Oct 26, 2006 at 10:06:24AM +1000, Herbert Xu wrote: > > If you're only encrypting/decrypting a single block then you should > > use the cipher interface. So net/d80211/aes_ccm.c should do that > > instead. See drivers/net/wir

Re: [take1] d80211: switch crypto to use new ciphers API

2006-10-30 Thread Herbert Xu
On Mon, Oct 30, 2006 at 10:08:58AM -0800, David Kimdon wrote: > > Updated patch, now aes, tkip and wep are all tested. > > Changes from take0: > > Use IS_ERR() to evaluate return value of crypto_alloc_cipher(). Use > ciper interface rather than blkcipher for aes encryption since we only > encry

[take1] d80211: switch crypto to use new ciphers API

2006-10-30 Thread David Kimdon
On Thu, Oct 26, 2006 at 10:06:24AM +1000, Herbert Xu wrote: > If you're only encrypting/decrypting a single block then you should > use the cipher interface. So net/d80211/aes_ccm.c should do that > instead. See drivers/net/wirless/airo.c for an example of that. Thanks Herbert. Updated patch, n