blob: baba0608313ef5419cccff809d28166b1178bf7b [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);
35
Jiri Bencf0706e82007-05-05 11:45:53 -070036#endif /* WPA_H */