]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/mac80211/tkip.h
Merge branches 'pm-avs' and 'pm-cpuidle'
[linux.git] / net / mac80211 / tkip.h
index 676a7babdf5d02f5ed0f163c72b8915577f3b4ca..9d2f8bd36cc7aef75ac4f6f4b0a330fbb196be9a 100644 (file)
@@ -10,7 +10,7 @@
 #include <linux/crypto.h>
 #include "key.h"
 
-int ieee80211_tkip_encrypt_data(struct crypto_cipher *tfm,
+int ieee80211_tkip_encrypt_data(struct arc4_ctx *ctx,
                                struct ieee80211_key *key,
                                struct sk_buff *skb,
                                u8 *payload, size_t payload_len);
@@ -21,7 +21,7 @@ enum {
        TKIP_DECRYPT_INVALID_KEYIDX = -2,
        TKIP_DECRYPT_REPLAY = -3,
 };
-int ieee80211_tkip_decrypt_data(struct crypto_cipher *tfm,
+int ieee80211_tkip_decrypt_data(struct arc4_ctx *ctx,
                                struct ieee80211_key *key,
                                u8 *payload, size_t payload_len, u8 *ta,
                                u8 *ra, int only_iv, int queue,