#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) |
static 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 290 of file kernel-3.5/wep.c.
ieee80211_tx_result ieee80211_crypto_wep_encrypt | ( | struct ieee80211_tx_data * | tx | ) |
Definition at line 343 of file kernel-3.5/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.5/wep.c.
static int ieee80211_wep_decrypt | ( | struct ieee80211_local * | local, |
struct sk_buff * | skb, | ||
struct ieee80211_key * | key | ||
) | [static] |
Definition at line 224 of file kernel-3.5/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 194 of file kernel-3.5/wep.c.
int ieee80211_wep_encrypt | ( | struct ieee80211_local * | local, |
struct sk_buff * | skb, | ||
const u8 * | key, | ||
int | keylen, | ||
int | keyidx | ||
) |
Definition at line 163 of file kernel-3.5/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 136 of file kernel-3.5/wep.c.
void ieee80211_wep_free | ( | struct ieee80211_local * | local | ) |
Definition at line 49 of file kernel-3.5/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.5/wep.c.
int ieee80211_wep_init | ( | struct ieee80211_local * | local | ) |
Definition at line 28 of file kernel-3.5/wep.c.
static bool ieee80211_wep_is_weak_iv | ( | struct sk_buff * | skb, |
struct ieee80211_key * | key | ||
) | [static] |
Definition at line 274 of file kernel-3.5/wep.c.
static void ieee80211_wep_remove_iv | ( | struct ieee80211_local * | local, |
struct sk_buff * | skb, | ||
struct ieee80211_key * | key | ||
) | [static] |
Definition at line 120 of file kernel-3.5/wep.c.
static bool ieee80211_wep_weak_iv | ( | u32 | iv, |
int | keylen | ||
) | [inline, static] |
Definition at line 57 of file kernel-3.5/wep.c.
static int wep_encrypt_skb | ( | struct ieee80211_tx_data * | tx, |
struct sk_buff * | skb | ||
) | [static] |
Definition at line 321 of file kernel-3.5/wep.c.