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