hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/net/mac80211/tkip.h
....@@ -1,9 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2002-2004, Instant802 Networks, Inc.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85
96 #ifndef TKIP_H
....@@ -13,7 +10,7 @@
1310 #include <linux/crypto.h>
1411 #include "key.h"
1512
16
-int ieee80211_tkip_encrypt_data(struct crypto_cipher *tfm,
13
+int ieee80211_tkip_encrypt_data(struct arc4_ctx *ctx,
1714 struct ieee80211_key *key,
1815 struct sk_buff *skb,
1916 u8 *payload, size_t payload_len);
....@@ -24,7 +21,7 @@
2421 TKIP_DECRYPT_INVALID_KEYIDX = -2,
2522 TKIP_DECRYPT_REPLAY = -3,
2623 };
27
-int ieee80211_tkip_decrypt_data(struct crypto_cipher *tfm,
24
+int ieee80211_tkip_decrypt_data(struct arc4_ctx *ctx,
2825 struct ieee80211_key *key,
2926 u8 *payload, size_t payload_len, u8 *ta,
3027 u8 *ra, int only_iv, int queue,