1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Copyright 2002-2004, Instant802 Networks, I 3 * Copyright 2002-2004, Instant802 Networks, Inc. 4 * Copyright (C) 2022 Intel Corporation << 5 */ 4 */ 6 5 7 #ifndef WPA_H 6 #ifndef WPA_H 8 #define WPA_H 7 #define WPA_H 9 8 10 #include <linux/skbuff.h> 9 #include <linux/skbuff.h> 11 #include <linux/types.h> 10 #include <linux/types.h> 12 #include "ieee80211_i.h" 11 #include "ieee80211_i.h" 13 12 14 ieee80211_tx_result 13 ieee80211_tx_result 15 ieee80211_tx_h_michael_mic_add(struct ieee8021 14 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx); 16 ieee80211_rx_result 15 ieee80211_rx_result 17 ieee80211_rx_h_michael_mic_verify(struct ieee8 16 ieee80211_rx_h_michael_mic_verify(struct ieee80211_rx_data *rx); 18 17 19 ieee80211_tx_result 18 ieee80211_tx_result 20 ieee80211_crypto_tkip_encrypt(struct ieee80211 19 ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx); 21 ieee80211_rx_result 20 ieee80211_rx_result 22 ieee80211_crypto_tkip_decrypt(struct ieee80211 21 ieee80211_crypto_tkip_decrypt(struct ieee80211_rx_data *rx); 23 22 24 ieee80211_tx_result 23 ieee80211_tx_result 25 ieee80211_crypto_ccmp_encrypt(struct ieee80211 24 ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx, 26 unsigned int mic 25 unsigned int mic_len); 27 ieee80211_rx_result 26 ieee80211_rx_result 28 ieee80211_crypto_ccmp_decrypt(struct ieee80211 27 ieee80211_crypto_ccmp_decrypt(struct ieee80211_rx_data *rx, 29 unsigned int mic 28 unsigned int mic_len); 30 29 31 ieee80211_tx_result 30 ieee80211_tx_result 32 ieee80211_crypto_aes_cmac_encrypt(struct ieee8 31 ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx); 33 ieee80211_tx_result 32 ieee80211_tx_result 34 ieee80211_crypto_aes_cmac_256_encrypt(struct i 33 ieee80211_crypto_aes_cmac_256_encrypt(struct ieee80211_tx_data *tx); 35 ieee80211_rx_result 34 ieee80211_rx_result 36 ieee80211_crypto_aes_cmac_decrypt(struct ieee8 35 ieee80211_crypto_aes_cmac_decrypt(struct ieee80211_rx_data *rx); 37 ieee80211_rx_result 36 ieee80211_rx_result 38 ieee80211_crypto_aes_cmac_256_decrypt(struct i 37 ieee80211_crypto_aes_cmac_256_decrypt(struct ieee80211_rx_data *rx); 39 ieee80211_tx_result 38 ieee80211_tx_result 40 ieee80211_crypto_aes_gmac_encrypt(struct ieee8 39 ieee80211_crypto_aes_gmac_encrypt(struct ieee80211_tx_data *tx); 41 ieee80211_rx_result 40 ieee80211_rx_result 42 ieee80211_crypto_aes_gmac_decrypt(struct ieee8 41 ieee80211_crypto_aes_gmac_decrypt(struct ieee80211_rx_data *rx); >> 42 ieee80211_tx_result >> 43 ieee80211_crypto_hw_encrypt(struct ieee80211_tx_data *tx); >> 44 ieee80211_rx_result >> 45 ieee80211_crypto_hw_decrypt(struct ieee80211_rx_data *rx); 43 46 44 ieee80211_tx_result 47 ieee80211_tx_result 45 ieee80211_crypto_gcmp_encrypt(struct ieee80211 48 ieee80211_crypto_gcmp_encrypt(struct ieee80211_tx_data *tx); 46 ieee80211_rx_result 49 ieee80211_rx_result 47 ieee80211_crypto_gcmp_decrypt(struct ieee80211 50 ieee80211_crypto_gcmp_decrypt(struct ieee80211_rx_data *rx); 48 51 49 #endif /* WPA_H */ 52 #endif /* WPA_H */ 50 53
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.