2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2007-05-06 02:45:53 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2002-2004, Instant802 Networks, Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WPA_H
|
|
|
|
#define WPA_H
|
|
|
|
|
|
|
|
#include <linux/skbuff.h>
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include "ieee80211_i.h"
|
|
|
|
|
2008-02-01 02:48:20 +08:00
|
|
|
ieee80211_tx_result
|
2008-02-25 23:27:43 +08:00
|
|
|
ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx);
|
2008-02-01 02:48:20 +08:00
|
|
|
ieee80211_rx_result
|
2008-02-25 23:27:43 +08:00
|
|
|
ieee80211_rx_h_michael_mic_verify(struct ieee80211_rx_data *rx);
|
2007-05-06 02:45:53 +08:00
|
|
|
|
2008-02-01 02:48:20 +08:00
|
|
|
ieee80211_tx_result
|
2008-02-25 23:27:43 +08:00
|
|
|
ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx);
|
2008-02-01 02:48:20 +08:00
|
|
|
ieee80211_rx_result
|
2008-02-25 23:27:43 +08:00
|
|
|
ieee80211_crypto_tkip_decrypt(struct ieee80211_rx_data *rx);
|
2007-05-06 02:45:53 +08:00
|
|
|
|
2008-02-01 02:48:20 +08:00
|
|
|
ieee80211_tx_result
|
2015-01-25 01:52:07 +08:00
|
|
|
ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx,
|
|
|
|
unsigned int mic_len);
|
2008-02-01 02:48:20 +08:00
|
|
|
ieee80211_rx_result
|
2015-01-25 01:52:07 +08:00
|
|
|
ieee80211_crypto_ccmp_decrypt(struct ieee80211_rx_data *rx,
|
|
|
|
unsigned int mic_len);
|
2007-05-06 02:45:53 +08:00
|
|
|
|
2009-01-08 19:32:01 +08:00
|
|
|
ieee80211_tx_result
|
|
|
|
ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx);
|
2015-01-25 01:52:08 +08:00
|
|
|
ieee80211_tx_result
|
|
|
|
ieee80211_crypto_aes_cmac_256_encrypt(struct ieee80211_tx_data *tx);
|
2009-01-08 19:32:01 +08:00
|
|
|
ieee80211_rx_result
|
|
|
|
ieee80211_crypto_aes_cmac_decrypt(struct ieee80211_rx_data *rx);
|
2015-01-25 01:52:08 +08:00
|
|
|
ieee80211_rx_result
|
|
|
|
ieee80211_crypto_aes_cmac_256_decrypt(struct ieee80211_rx_data *rx);
|
2012-01-16 21:18:59 +08:00
|
|
|
ieee80211_tx_result
|
2015-01-25 01:52:09 +08:00
|
|
|
ieee80211_crypto_aes_gmac_encrypt(struct ieee80211_tx_data *tx);
|
|
|
|
ieee80211_rx_result
|
|
|
|
ieee80211_crypto_aes_gmac_decrypt(struct ieee80211_rx_data *rx);
|
|
|
|
ieee80211_tx_result
|
2012-01-16 21:18:59 +08:00
|
|
|
ieee80211_crypto_hw_encrypt(struct ieee80211_tx_data *tx);
|
2013-03-24 20:23:27 +08:00
|
|
|
ieee80211_rx_result
|
|
|
|
ieee80211_crypto_hw_decrypt(struct ieee80211_rx_data *rx);
|
2009-01-08 19:32:01 +08:00
|
|
|
|
2015-01-25 01:52:06 +08:00
|
|
|
ieee80211_tx_result
|
|
|
|
ieee80211_crypto_gcmp_encrypt(struct ieee80211_tx_data *tx);
|
|
|
|
ieee80211_rx_result
|
|
|
|
ieee80211_crypto_gcmp_decrypt(struct ieee80211_rx_data *rx);
|
|
|
|
|
2007-05-06 02:45:53 +08:00
|
|
|
#endif /* WPA_H */
|