2019-06-04 08:11:33 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2007-05-05 18:45:53 +00: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-01-31 18:48:20 +00:00
|
|
|
ieee80211_tx_result
|
2008-02-25 15:27:43 +00:00
|
|
|
ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx);
|
2008-01-31 18:48:20 +00:00
|
|
|
ieee80211_rx_result
|
2008-02-25 15:27:43 +00:00
|
|
|
ieee80211_rx_h_michael_mic_verify(struct ieee80211_rx_data *rx);
|
2007-05-05 18:45:53 +00:00
|
|
|
|
2008-01-31 18:48:20 +00:00
|
|
|
ieee80211_tx_result
|
2008-02-25 15:27:43 +00:00
|
|
|
ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx);
|
2008-01-31 18:48:20 +00:00
|
|
|
ieee80211_rx_result
|
2008-02-25 15:27:43 +00:00
|
|
|
ieee80211_crypto_tkip_decrypt(struct ieee80211_rx_data *rx);
|
2007-05-05 18:45:53 +00:00
|
|
|
|
2008-01-31 18:48:20 +00:00
|
|
|
ieee80211_tx_result
|
2015-01-24 17:52:07 +00:00
|
|
|
ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx,
|
|
|
|
unsigned int mic_len);
|
2008-01-31 18:48:20 +00:00
|
|
|
ieee80211_rx_result
|
2015-01-24 17:52:07 +00:00
|
|
|
ieee80211_crypto_ccmp_decrypt(struct ieee80211_rx_data *rx,
|
|
|
|
unsigned int mic_len);
|
2007-05-05 18:45:53 +00:00
|
|
|
|
2009-01-08 11:32:01 +00:00
|
|
|
ieee80211_tx_result
|
|
|
|
ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx);
|
2015-01-24 17:52:08 +00:00
|
|
|
ieee80211_tx_result
|
|
|
|
ieee80211_crypto_aes_cmac_256_encrypt(struct ieee80211_tx_data *tx);
|
2009-01-08 11:32:01 +00:00
|
|
|
ieee80211_rx_result
|
|
|
|
ieee80211_crypto_aes_cmac_decrypt(struct ieee80211_rx_data *rx);
|
2015-01-24 17:52:08 +00:00
|
|
|
ieee80211_rx_result
|
|
|
|
ieee80211_crypto_aes_cmac_256_decrypt(struct ieee80211_rx_data *rx);
|
2012-01-16 13:18:59 +00:00
|
|
|
ieee80211_tx_result
|
2015-01-24 17:52:09 +00: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 13:18:59 +00:00
|
|
|
ieee80211_crypto_hw_encrypt(struct ieee80211_tx_data *tx);
|
2013-03-24 12:23:27 +00:00
|
|
|
ieee80211_rx_result
|
|
|
|
ieee80211_crypto_hw_decrypt(struct ieee80211_rx_data *rx);
|
2009-01-08 11:32:01 +00:00
|
|
|
|
2015-01-24 17:52:06 +00: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-05 18:45:53 +00:00
|
|
|
#endif /* WPA_H */
|