#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/export.h>
#include <asm/unaligned.h>
#include <net/mac80211.h>
#include "driver-ops.h"
#include "key.h"
#include "tkip.h"
#include "wep.h"
Go to the source code of this file.
|
u8 * | ieee80211_tkip_add_iv (u8 *pos, struct ieee80211_key *key) |
|
void | ieee80211_get_tkip_p1k_iv (struct ieee80211_key_conf *keyconf, u32 iv32, u16 *p1k) |
|
| EXPORT_SYMBOL (ieee80211_get_tkip_p1k_iv) |
|
void | ieee80211_get_tkip_rx_p1k (struct ieee80211_key_conf *keyconf, const u8 *ta, u32 iv32, u16 *p1k) |
|
| EXPORT_SYMBOL (ieee80211_get_tkip_rx_p1k) |
|
void | ieee80211_get_tkip_p2k (struct ieee80211_key_conf *keyconf, struct sk_buff *skb, u8 *p2k) |
|
| EXPORT_SYMBOL (ieee80211_get_tkip_p2k) |
|
int | ieee80211_tkip_encrypt_data (struct crypto_cipher *tfm, struct ieee80211_key *key, struct sk_buff *skb, u8 *payload, size_t payload_len) |
|
int | ieee80211_tkip_decrypt_data (struct crypto_cipher *tfm, struct ieee80211_key *key, u8 *payload, size_t payload_len, u8 *ta, u8 *ra, int only_iv, int queue, u32 *out_iv32, u16 *out_iv16) |
|
#define PHASE1_LOOP_COUNT 8 |
ieee80211_get_tkip_p1k_iv - get a TKIP phase 1 key for IV32
This function returns the TKIP phase 1 key for the given IV32.
: the parameter passed with the set key : IV32 to get the P1K for : a buffer to which the key will be written, as 5 u16 values
Definition at line 174 of file tkip.c.
ieee80211_get_tkip_p2k - get a TKIP phase 2 key
This function computes the TKIP RC4 key for the IV values in the packet.
: the parameter passed with the set key : the packet to take the IV32/IV16 values from that will be encrypted with this key : a buffer to which the key will be written, 16 bytes
Definition at line 200 of file tkip.c.
ieee80211_get_tkip_rx_p1k - get a TKIP phase 1 key for RX
This function returns the TKIP phase 1 key for the given IV32 and transmitter address.
: the parameter passed with the set key : TA that will be used with the key : IV32 to get the P1K for : a buffer to which the key will be written, as 5 u16 values
Definition at line 189 of file tkip.c.