#include <linux/netdevice.h>
#include <linux/types.h>
#include <linux/random.h>
#include <linux/compiler.h>
#include <linux/crc32.h>
#include <linux/crypto.h>
#include <linux/err.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <asm/unaligned.h>
#include <net/mac80211.h>
#include "ieee80211_i.h"
#include "wep.h"
Go to the source code of this file.
Functions | |
ieee80211_rx_result | ieee80211_crypto_wep_decrypt (struct ieee80211_rx_data *rx) |
ieee80211_tx_result | ieee80211_crypto_wep_encrypt (struct ieee80211_tx_data *tx) |
static u8 * | ieee80211_wep_add_iv (struct ieee80211_local *local, struct sk_buff *skb, int keylen, int keyidx) |
static int | ieee80211_wep_decrypt (struct ieee80211_local *local, struct sk_buff *skb, struct ieee80211_key *key) |
int | ieee80211_wep_decrypt_data (struct crypto_cipher *tfm, u8 *rc4key, size_t klen, u8 *data, size_t data_len) |
int | ieee80211_wep_encrypt (struct ieee80211_local *local, struct sk_buff *skb, const u8 *key, int keylen, int keyidx) |
int | ieee80211_wep_encrypt_data (struct crypto_cipher *tfm, u8 *rc4key, size_t klen, u8 *data, size_t data_len) |
void | ieee80211_wep_free (struct ieee80211_local *local) |
static void | ieee80211_wep_get_iv (struct ieee80211_local *local, int keylen, int keyidx, u8 *iv) |
int | ieee80211_wep_init (struct ieee80211_local *local) |
bool | ieee80211_wep_is_weak_iv (struct sk_buff *skb, struct ieee80211_key *key) |
static void | ieee80211_wep_remove_iv (struct ieee80211_local *local, struct sk_buff *skb, struct ieee80211_key *key) |
static bool | ieee80211_wep_weak_iv (u32 iv, int keylen) |
static int | wep_encrypt_skb (struct ieee80211_tx_data *tx, struct sk_buff *skb) |
ieee80211_rx_result ieee80211_crypto_wep_decrypt | ( | struct ieee80211_rx_data * | rx | ) |
Definition at line 284 of file kernel-3.2/wep.c.
ieee80211_tx_result ieee80211_crypto_wep_encrypt | ( | struct ieee80211_tx_data * | tx | ) |
Definition at line 327 of file kernel-3.2/wep.c.
static u8* ieee80211_wep_add_iv | ( | struct ieee80211_local * | local, |
struct sk_buff * | skb, | ||
int | keylen, | ||
int | keyidx | ||
) | [static] |
Definition at line 90 of file kernel-3.2/wep.c.
static int ieee80211_wep_decrypt | ( | struct ieee80211_local * | local, |
struct sk_buff * | skb, | ||
struct ieee80211_key * | key | ||
) | [static] |
Definition at line 216 of file kernel-3.2/wep.c.
int ieee80211_wep_decrypt_data | ( | struct crypto_cipher * | tfm, |
u8 * | rc4key, | ||
size_t | klen, | ||
u8 * | data, | ||
size_t | data_len | ||
) |
Definition at line 186 of file kernel-3.2/wep.c.
int ieee80211_wep_encrypt | ( | struct ieee80211_local * | local, |
struct sk_buff * | skb, | ||
const u8 * | key, | ||
int | keylen, | ||
int | keyidx | ||
) |
Definition at line 155 of file kernel-3.2/wep.c.
int ieee80211_wep_encrypt_data | ( | struct crypto_cipher * | tfm, |
u8 * | rc4key, | ||
size_t | klen, | ||
u8 * | data, | ||
size_t | data_len | ||
) |
Definition at line 128 of file kernel-3.2/wep.c.
void ieee80211_wep_free | ( | struct ieee80211_local * | local | ) |
Definition at line 49 of file kernel-3.2/wep.c.
static void ieee80211_wep_get_iv | ( | struct ieee80211_local * | local, |
int | keylen, | ||
int | keyidx, | ||
u8 * | iv | ||
) | [static] |
Definition at line 73 of file kernel-3.2/wep.c.
int ieee80211_wep_init | ( | struct ieee80211_local * | local | ) |
Definition at line 28 of file kernel-3.2/wep.c.
bool ieee80211_wep_is_weak_iv | ( | struct sk_buff * | skb, |
struct ieee80211_key * | key | ||
) |
Definition at line 266 of file kernel-3.2/wep.c.
static void ieee80211_wep_remove_iv | ( | struct ieee80211_local * | local, |
struct sk_buff * | skb, | ||
struct ieee80211_key * | key | ||
) | [static] |
Definition at line 112 of file kernel-3.2/wep.c.
static bool ieee80211_wep_weak_iv | ( | u32 | iv, |
int | keylen | ||
) | [inline, static] |
Definition at line 57 of file kernel-3.2/wep.c.
static int wep_encrypt_skb | ( | struct ieee80211_tx_data * | tx, |
struct sk_buff * | skb | ||
) | [static] |
Definition at line 306 of file kernel-3.2/wep.c.