/linux-6.1.9/net/wireless/ |
D | lib80211_crypt_ccmp.c | 44 u8 rx_pn[CCMP_PN_LEN]; member 301 if (ccmp_replay_check(pn, key->rx_pn)) { in lib80211_ccmp_decrypt() 305 key->rx_pn[0], key->rx_pn[1], key->rx_pn[2], in lib80211_ccmp_decrypt() 306 key->rx_pn[3], key->rx_pn[4], key->rx_pn[5], in lib80211_ccmp_decrypt() 337 memcpy(key->rx_pn, pn, CCMP_PN_LEN); in lib80211_ccmp_decrypt() 361 data->rx_pn[0] = seq[5]; in lib80211_ccmp_set_key() 362 data->rx_pn[1] = seq[4]; in lib80211_ccmp_set_key() 363 data->rx_pn[2] = seq[3]; in lib80211_ccmp_set_key() 364 data->rx_pn[3] = seq[2]; in lib80211_ccmp_set_key() 365 data->rx_pn[4] = seq[1]; in lib80211_ccmp_set_key() [all …]
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 40 u8 rx_pn[CCMP_PN_LEN]; member 276 if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { in ieee80211_ccmp_decrypt() 279 hdr->addr2, key->rx_pn, pn); in ieee80211_ccmp_decrypt() 318 memcpy(key->rx_pn, pn, CCMP_PN_LEN); in ieee80211_ccmp_decrypt() 341 data->rx_pn[0] = seq[5]; in ieee80211_ccmp_set_key() 342 data->rx_pn[1] = seq[4]; in ieee80211_ccmp_set_key() 343 data->rx_pn[2] = seq[3]; in ieee80211_ccmp_set_key() 344 data->rx_pn[3] = seq[2]; in ieee80211_ccmp_set_key() 345 data->rx_pn[4] = seq[1]; in ieee80211_ccmp_set_key() 346 data->rx_pn[5] = seq[0]; in ieee80211_ccmp_set_key() [all …]
|
/linux-6.1.9/net/mac80211/ |
D | key.h | 90 u8 rx_pn[IEEE80211_NUM_TIDS + 1][IEEE80211_CCMP_PN_LEN]; member 95 u8 rx_pn[IEEE80211_CMAC_PN_LEN]; member 101 u8 rx_pn[IEEE80211_GMAC_PN_LEN]; member 112 u8 rx_pn[IEEE80211_NUM_TIDS + 1][IEEE80211_GCMP_PN_LEN]; member 118 u8 rx_pn[IEEE80211_NUM_TIDS + 1][IEEE80211_MAX_PN_LEN]; member
|
D | key.c | 639 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc() 659 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc() 681 key->u.aes_cmac.rx_pn[j] = in ieee80211_key_alloc() 701 key->u.aes_gmac.rx_pn[j] = in ieee80211_key_alloc() 720 key->u.gcmp.rx_pn[i][j] = in ieee80211_key_alloc() 1253 pn = key->u.ccmp.rx_pn[IEEE80211_NUM_TIDS]; in ieee80211_get_key_rx_seq() 1255 pn = key->u.ccmp.rx_pn[tid]; in ieee80211_get_key_rx_seq() 1262 pn = key->u.aes_cmac.rx_pn; in ieee80211_get_key_rx_seq() 1269 pn = key->u.aes_gmac.rx_pn; in ieee80211_get_key_rx_seq() 1277 pn = key->u.gcmp.rx_pn[IEEE80211_NUM_TIDS]; in ieee80211_get_key_rx_seq() [all …]
|
D | wpa.c | 548 res = memcmp(pn, key->u.ccmp.rx_pn[queue], in ieee80211_crypto_ccmp_decrypt() 570 memcpy(key->u.ccmp.rx_pn[queue], pn, IEEE80211_CCMP_PN_LEN); in ieee80211_crypto_ccmp_decrypt() 744 res = memcmp(pn, key->u.gcmp.rx_pn[queue], in ieee80211_crypto_gcmp_decrypt() 767 memcpy(key->u.gcmp.rx_pn[queue], pn, IEEE80211_GCMP_PN_LEN); in ieee80211_crypto_gcmp_decrypt() 937 if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { in ieee80211_crypto_aes_cmac_decrypt() 953 memcpy(key->u.aes_cmac.rx_pn, ipn, 6); in ieee80211_crypto_aes_cmac_decrypt() 987 if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { in ieee80211_crypto_aes_cmac_256_decrypt() 1003 memcpy(key->u.aes_cmac.rx_pn, ipn, 6); in ieee80211_crypto_aes_cmac_256_decrypt() 1086 if (memcmp(ipn, key->u.aes_gmac.rx_pn, 6) <= 0) { in ieee80211_crypto_aes_gmac_decrypt() 1112 memcpy(key->u.aes_gmac.rx_pn, ipn, 6); in ieee80211_crypto_aes_gmac_decrypt()
|
D | debugfs_key.c | 181 rpn = key->u.ccmp.rx_pn[i]; in key_rx_spec_read() 191 rpn = key->u.aes_cmac.rx_pn; in key_rx_spec_read() 200 rpn = key->u.aes_gmac.rx_pn; in key_rx_spec_read() 210 rpn = key->u.gcmp.rx_pn[i]; in key_rx_spec_read()
|
D | rx.c | 2296 rx->key->u.ccmp.rx_pn[queue], in ieee80211_rx_h_defragment() 2299 u.ccmp.rx_pn) != in ieee80211_rx_h_defragment() 2301 u.gcmp.rx_pn)); in ieee80211_rx_h_defragment() 2302 BUILD_BUG_ON(sizeof(rx->key->u.ccmp.rx_pn[queue]) != in ieee80211_rx_h_defragment() 2303 sizeof(rx->key->u.gcmp.rx_pn[queue])); in ieee80211_rx_h_defragment()
|
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 35 u8 rx_pn[CCMP_PN_LEN]; member 270 if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { in rtllib_ccmp_decrypt() 308 memcpy(key->rx_pn, pn, CCMP_PN_LEN); in rtllib_ccmp_decrypt() 333 data->rx_pn[0] = seq[5]; in rtllib_ccmp_set_key() 334 data->rx_pn[1] = seq[4]; in rtllib_ccmp_set_key() 335 data->rx_pn[2] = seq[3]; in rtllib_ccmp_set_key() 336 data->rx_pn[3] = seq[2]; in rtllib_ccmp_set_key() 337 data->rx_pn[4] = seq[1]; in rtllib_ccmp_set_key() 338 data->rx_pn[5] = seq[0]; in rtllib_ccmp_set_key() 384 ccmp->tx_pn, ccmp->rx_pn, in rtllib_ccmp_print_stats()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | location.h | 788 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member 857 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member 938 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member 1502 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ftm-initiator.c | 35 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member 703 memcpy(target->rx_pn, entry->rx_pn, sizeof(target->rx_pn)); in iwl_mvm_ftm_set_secured_ranging() 1130 memcpy(entry->rx_pn, fw_ap->rx_pn, sizeof(entry->rx_pn)); in iwl_mvm_ftm_pasn_update_pn()
|
D | sta.c | 3462 u8 _rx_pn[IEEE80211_MAX_PN_LEN] = {}, *rx_pn = _rx_pn; in iwl_mvm_send_sta_key() local 3470 rx_pn[0] = seq.tkip.iv16; in iwl_mvm_send_sta_key() 3471 rx_pn[1] = seq.tkip.iv16 >> 8; in iwl_mvm_send_sta_key() 3472 rx_pn[2 + hole] = seq.tkip.iv32; in iwl_mvm_send_sta_key() 3473 rx_pn[3 + hole] = seq.tkip.iv32 >> 8; in iwl_mvm_send_sta_key() 3474 rx_pn[4 + hole] = seq.tkip.iv32 >> 16; in iwl_mvm_send_sta_key() 3475 rx_pn[5 + hole] = seq.tkip.iv32 >> 24; in iwl_mvm_send_sta_key() 3477 rx_pn = seq.hw.seq; in iwl_mvm_send_sta_key() 3480 rx_pn[0] = seq.ccmp.pn[0]; in iwl_mvm_send_sta_key() 3481 rx_pn[1] = seq.ccmp.pn[1]; in iwl_mvm_send_sta_key() [all …]
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 2437 sec_type = peer->rx_pn[sec_index].sec_type; in ath10k_htt_rx_pn_check_replay_hl() 2438 ath10k_htt_rx_mpdu_desc_pn_hl(rx_desc, &new_pn, peer->rx_pn[sec_index].pn_len); in ath10k_htt_rx_pn_check_replay_hl() 2529 sec_type = peer->rx_pn[sec_index].sec_type; in ath10k_htt_rx_proc_rx_ind_hl() 2532 ath10k_htt_rx_mpdu_desc_pn_hl(rx_desc, &new_pn, peer->rx_pn[sec_index].pn_len); in ath10k_htt_rx_proc_rx_ind_hl() 2832 sec_type = peer->rx_pn[sec_index].sec_type; in ath10k_htt_rx_proc_rx_frag_ind_hl() 2833 ath10k_htt_rx_mpdu_desc_pn_hl(rx_desc, &new_pn, peer->rx_pn[sec_index].pn_len); in ath10k_htt_rx_proc_rx_frag_ind_hl() 4066 peer->rx_pn[sec_index].sec_type = sec_type; in ath10k_htt_rx_sec_ind_handler() 4067 peer->rx_pn[sec_index].pn_len = ath10k_htt_rx_pn_len(sec_type); in ath10k_htt_rx_sec_ind_handler()
|
D | core.h | 438 } rx_pn[ATH10K_HTT_TXRX_PEER_SECURITY_MAX]; member
|