wep.h
Go to the documentation of this file.
00001 /*
00002  * Software WEP encryption implementation
00003  * Copyright 2002, Jouni Malinen <jkmaline@cc.hut.fi>
00004  * Copyright 2003, Instant802 Networks, Inc.
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License version 2 as
00008  * published by the Free Software Foundation.
00009  */
00010 
00011 #ifndef WEP_H
00012 #define WEP_H
00013 
00014 #include <linux/skbuff.h>
00015 #include <linux/types.h>
00016 #include "ieee80211_i.h"
00017 #include "key.h"
00018 
00019 int ieee80211_wep_init(struct ieee80211_local *local);
00020 void ieee80211_wep_free(struct ieee80211_local *local);
00021 int ieee80211_wep_encrypt_data(struct crypto_cipher *tfm, u8 *rc4key,
00022                                 size_t klen, u8 *data, size_t data_len);
00023 int ieee80211_wep_encrypt(struct ieee80211_local *local,
00024                           struct sk_buff *skb,
00025                           const u8 *key, int keylen, int keyidx);
00026 int ieee80211_wep_decrypt_data(struct crypto_cipher *tfm, u8 *rc4key,
00027                                size_t klen, u8 *data, size_t data_len);
00028 bool ieee80211_wep_is_weak_iv(struct sk_buff *skb, struct ieee80211_key *key);
00029 
00030 ieee80211_rx_result
00031 ieee80211_crypto_wep_decrypt(struct ieee80211_rx_data *rx);
00032 ieee80211_tx_result
00033 ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx);
00034 
00035 #endif /* WEP_H */


ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:56