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