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