Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright 2002-2004, Instant802 Networks, Inc.
0004  * Copyright (C) 2022 Intel Corporation
0005  */
0006 
0007 #ifndef WPA_H
0008 #define WPA_H
0009 
0010 #include <linux/skbuff.h>
0011 #include <linux/types.h>
0012 #include "ieee80211_i.h"
0013 
0014 ieee80211_tx_result
0015 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx);
0016 ieee80211_rx_result
0017 ieee80211_rx_h_michael_mic_verify(struct ieee80211_rx_data *rx);
0018 
0019 ieee80211_tx_result
0020 ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx);
0021 ieee80211_rx_result
0022 ieee80211_crypto_tkip_decrypt(struct ieee80211_rx_data *rx);
0023 
0024 ieee80211_tx_result
0025 ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx,
0026                   unsigned int mic_len);
0027 ieee80211_rx_result
0028 ieee80211_crypto_ccmp_decrypt(struct ieee80211_rx_data *rx,
0029                   unsigned int mic_len);
0030 
0031 ieee80211_tx_result
0032 ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx);
0033 ieee80211_tx_result
0034 ieee80211_crypto_aes_cmac_256_encrypt(struct ieee80211_tx_data *tx);
0035 ieee80211_rx_result
0036 ieee80211_crypto_aes_cmac_decrypt(struct ieee80211_rx_data *rx);
0037 ieee80211_rx_result
0038 ieee80211_crypto_aes_cmac_256_decrypt(struct ieee80211_rx_data *rx);
0039 ieee80211_tx_result
0040 ieee80211_crypto_aes_gmac_encrypt(struct ieee80211_tx_data *tx);
0041 ieee80211_rx_result
0042 ieee80211_crypto_aes_gmac_decrypt(struct ieee80211_rx_data *rx);
0043 
0044 ieee80211_tx_result
0045 ieee80211_crypto_gcmp_encrypt(struct ieee80211_tx_data *tx);
0046 ieee80211_rx_result
0047 ieee80211_crypto_gcmp_decrypt(struct ieee80211_rx_data *rx);
0048 
0049 #endif /* WPA_H */