Blame view

net/mac80211/wep.h 1.17 KB
f0706e828   Jiri Benc   [MAC80211]: Add m...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  /*
   * 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"
2c8dccc77   Johannes Berg   mac80211: rename ...
17
  #include "key.h"
f0706e828   Jiri Benc   [MAC80211]: Add m...
18
19
20
  
  int ieee80211_wep_init(struct ieee80211_local *local);
  void ieee80211_wep_free(struct ieee80211_local *local);
5f9f1812b   Felix Fietkau   mac80211: remove ...
21
  int ieee80211_wep_encrypt_data(struct crypto_cipher *tfm, u8 *rc4key,
f0706e828   Jiri Benc   [MAC80211]: Add m...
22
  				size_t klen, u8 *data, size_t data_len);
fffd0934b   Johannes Berg   cfg80211: rework ...
23
24
25
  int ieee80211_wep_encrypt(struct ieee80211_local *local,
  			  struct sk_buff *skb,
  			  const u8 *key, int keylen, int keyidx);
5f9f1812b   Felix Fietkau   mac80211: remove ...
26
  int ieee80211_wep_decrypt_data(struct crypto_cipher *tfm, u8 *rc4key,
f0706e828   Jiri Benc   [MAC80211]: Add m...
27
  			       size_t klen, u8 *data, size_t data_len);
c6a1fa12d   Johannes Berg   mac80211: minor c...
28
  bool ieee80211_wep_is_weak_iv(struct sk_buff *skb, struct ieee80211_key *key);
f0706e828   Jiri Benc   [MAC80211]: Add m...
29

9ae54c846   Johannes Berg   mac80211: split i...
30
  ieee80211_rx_result
5cf121c3c   Johannes Berg   mac80211: split i...
31
  ieee80211_crypto_wep_decrypt(struct ieee80211_rx_data *rx);
9ae54c846   Johannes Berg   mac80211: split i...
32
  ieee80211_tx_result
5cf121c3c   Johannes Berg   mac80211: split i...
33
  ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx);
4f0d18e26   Johannes Berg   [PATCH] mac80211:...
34

f0706e828   Jiri Benc   [MAC80211]: Add m...
35
  #endif /* WEP_H */