blob: 62e5a12dfe0a24010b32eec210d7a38a1c4c3eb8 [file] [log] [blame]
Jiri Bencf0706e82007-05-05 11:45:53 -07001/*
2 * Copyright 2002-2004, Instant802 Networks, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#ifndef WPA_H
10#define WPA_H
11
12#include <linux/skbuff.h>
13#include <linux/types.h>
14#include "ieee80211_i.h"
15
Johannes Berg9ae54c82008-01-31 19:48:20 +010016ieee80211_tx_result
Johannes Berg5cf121c2008-02-25 16:27:43 +010017ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx);
Johannes Berg9ae54c82008-01-31 19:48:20 +010018ieee80211_rx_result
Johannes Berg5cf121c2008-02-25 16:27:43 +010019ieee80211_rx_h_michael_mic_verify(struct ieee80211_rx_data *rx);
Jiri Bencf0706e82007-05-05 11:45:53 -070020
Johannes Berg9ae54c82008-01-31 19:48:20 +010021ieee80211_tx_result
Johannes Berg5cf121c2008-02-25 16:27:43 +010022ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx);
Johannes Berg9ae54c82008-01-31 19:48:20 +010023ieee80211_rx_result
Johannes Berg5cf121c2008-02-25 16:27:43 +010024ieee80211_crypto_tkip_decrypt(struct ieee80211_rx_data *rx);
Jiri Bencf0706e82007-05-05 11:45:53 -070025
Johannes Berg9ae54c82008-01-31 19:48:20 +010026ieee80211_tx_result
Johannes Berg5cf121c2008-02-25 16:27:43 +010027ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx);
Johannes Berg9ae54c82008-01-31 19:48:20 +010028ieee80211_rx_result
Johannes Berg5cf121c2008-02-25 16:27:43 +010029ieee80211_crypto_ccmp_decrypt(struct ieee80211_rx_data *rx);
Jiri Bencf0706e82007-05-05 11:45:53 -070030
Jouni Malinen765cb462009-01-08 13:32:01 +020031ieee80211_tx_result
32ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx);
33ieee80211_rx_result
34ieee80211_crypto_aes_cmac_decrypt(struct ieee80211_rx_data *rx);
Yoni Divinskyd32a1022012-01-16 15:18:59 +020035ieee80211_tx_result
36ieee80211_crypto_hw_encrypt(struct ieee80211_tx_data *tx);
Max Stepanov2475b1cc2013-03-24 14:23:27 +020037ieee80211_rx_result
38ieee80211_crypto_hw_decrypt(struct ieee80211_rx_data *rx);
Jouni Malinen765cb462009-01-08 13:32:01 +020039
Jiri Bencf0706e82007-05-05 11:45:53 -070040#endif /* WPA_H */