/* * Software WEP encryption implementation * Copyright 2002, Jouni Malinen <jkmaline@cc.hut.fi> * Copyright 2003, Instant802 Networks, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#ifndef WEP_H#define WEP_H#include <linux/skbuff.h>#include <linux/types.h>#include "ieee80211_i.h"#include "key.h"intieee80211_wep_init(structieee80211_local*local);voidieee80211_wep_free(structieee80211_local*local);intieee80211_wep_encrypt_data(structcrypto_cipher*tfm,u8*rc4key,size_tklen,u8*data,size_tdata_len);intieee80211_wep_encrypt(structieee80211_local*local,structsk_buff*skb,constu8*key,intkeylen,intkeyidx);intieee80211_wep_decrypt_data(structcrypto_cipher*tfm,u8*rc4key,size_tklen,u8*data,size_tdata_len);ieee80211_rx_resultieee80211_crypto_wep_decrypt(structieee80211_rx_data*rx);ieee80211_tx_resultieee80211_crypto_wep_encrypt(structieee80211_tx_data*tx);#endif /* WEP_H */