/linux-master/net/wireless/ |
H A D | lib80211_crypt_ccmp.c | 44 u8 rx_pn[CCMP_PN_LEN]; member in struct:lib80211_ccmp_data 301 if (ccmp_replay_check(pn, key->rx_pn)) { 305 key->rx_pn[0], key->rx_pn[1], key->rx_pn[2], 306 key->rx_pn[3], key->rx_pn[4], key->rx_pn[5], 337 memcpy(key->rx_pn, pn, CCMP_PN_LEN); 361 data->rx_pn[ [all...] |
/linux-master/net/mac80211/ |
H A D | key.h | 90 u8 rx_pn[IEEE80211_NUM_TIDS + 1][IEEE80211_CCMP_PN_LEN]; member in struct:ieee80211_key::__anon3183::__anon3185 95 u8 rx_pn[IEEE80211_CMAC_PN_LEN]; member in struct:ieee80211_key::__anon3183::__anon3186 101 u8 rx_pn[IEEE80211_GMAC_PN_LEN]; member in struct:ieee80211_key::__anon3183::__anon3187 112 u8 rx_pn[IEEE80211_NUM_TIDS + 1][IEEE80211_GCMP_PN_LEN]; member in struct:ieee80211_key::__anon3183::__anon3188 118 u8 rx_pn[IEEE80211_NUM_TIDS + 1][IEEE80211_MAX_PN_LEN]; member in struct:ieee80211_key::__anon3183::__anon3189
|
H A D | key.c | 639 key->u.ccmp.rx_pn[i][j] = 659 key->u.ccmp.rx_pn[i][j] = 681 key->u.aes_cmac.rx_pn[j] = 701 key->u.aes_gmac.rx_pn[j] = 720 key->u.gcmp.rx_pn[i][j] = 1259 pn = key->u.ccmp.rx_pn[IEEE80211_NUM_TIDS]; 1261 pn = key->u.ccmp.rx_pn[tid]; 1268 pn = key->u.aes_cmac.rx_pn; 1275 pn = key->u.aes_gmac.rx_pn; 1283 pn = key->u.gcmp.rx_pn[IEEE80211_NUM_TID [all...] |
H A D | wpa.c | 557 res = memcmp(pn, key->u.ccmp.rx_pn[queue], 580 memcpy(key->u.ccmp.rx_pn[queue], pn, IEEE80211_CCMP_PN_LEN); 756 res = memcmp(pn, key->u.gcmp.rx_pn[queue], 780 memcpy(key->u.gcmp.rx_pn[queue], pn, IEEE80211_GCMP_PN_LEN); 954 if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { 970 memcpy(key->u.aes_cmac.rx_pn, ipn, 6); 1004 if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { 1020 memcpy(key->u.aes_cmac.rx_pn, ipn, 6); 1107 if (memcmp(ipn, key->u.aes_gmac.rx_pn, 6) <= 0) { 1133 memcpy(key->u.aes_gmac.rx_pn, ip [all...] |
H A D | debugfs_key.c | 181 rpn = key->u.ccmp.rx_pn[i]; 191 rpn = key->u.aes_cmac.rx_pn; 200 rpn = key->u.aes_gmac.rx_pn; 210 rpn = key->u.gcmp.rx_pn[i];
|
H A D | rx.c | 2303 rx->key->u.ccmp.rx_pn[queue], 2306 u.ccmp.rx_pn) != 2308 u.gcmp.rx_pn)); 2309 BUILD_BUG_ON(sizeof(rx->key->u.ccmp.rx_pn[queue]) != 2310 sizeof(rx->key->u.gcmp.rx_pn[queue]));
|
/linux-master/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_ccmp.c | 35 u8 rx_pn[CCMP_PN_LEN]; member in struct:rtllib_ccmp_data 264 if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { 302 memcpy(key->rx_pn, pn, CCMP_PN_LEN); 326 data->rx_pn[0] = seq[5]; 327 data->rx_pn[1] = seq[4]; 328 data->rx_pn[2] = seq[3]; 329 data->rx_pn[3] = seq[2]; 330 data->rx_pn[4] = seq[1]; 331 data->rx_pn[5] = seq[0]; 373 "key[%d] alg=CCMP key_set=%d tx_pn=%pM rx_pn [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | location.h | 772 * @rx_pn: the next expected PN for protected management frames Rx. LE byte 795 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member in struct:iwl_tof_range_req_ap_entry_v7 829 * @rx_pn: the next expected PN for protected management frames Rx. LE byte 864 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member in struct:iwl_tof_range_req_ap_entry_v8 905 * @rx_pn: the next expected PN for protected management frames Rx. LE byte 945 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member in struct:iwl_tof_range_req_ap_entry_v9 1482 * @rx_pn: the last PN used for this responder Rx in case PMF is configured in 1509 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member in struct:iwl_tof_range_rsp_ap_entry_ntfy_v6
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ftm-initiator.c | 39 u8 rx_pn[IEEE80211_CCMP_PN_LEN]; member in struct:iwl_mvm_ftm_pasn_entry 758 memcpy(target->rx_pn, entry->rx_pn, sizeof(target->rx_pn)); 1184 memcpy(entry->rx_pn, fw_ap->rx_pn, sizeof(entry->rx_pn));
|
H A D | sta.c | 3663 u8 _rx_pn[IEEE80211_MAX_PN_LEN] = {}, *rx_pn = _rx_pn; local 3671 rx_pn[0] = seq.tkip.iv16; 3672 rx_pn[1] = seq.tkip.iv16 >> 8; 3673 rx_pn[2 + hole] = seq.tkip.iv32; 3674 rx_pn[3 + hole] = seq.tkip.iv32 >> 8; 3675 rx_pn[4 + hole] = seq.tkip.iv32 >> 16; 3676 rx_pn[5 + hole] = seq.tkip.iv32 >> 24; 3678 rx_pn = seq.hw.seq; 3681 rx_pn[0] = seq.ccmp.pn[0]; 3682 rx_pn[ [all...] |
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | htt_rx.c | 2433 sec_type = peer->rx_pn[sec_index].sec_type; 2434 ath10k_htt_rx_mpdu_desc_pn_hl(rx_desc, &new_pn, peer->rx_pn[sec_index].pn_len); 2525 sec_type = peer->rx_pn[sec_index].sec_type; 2528 ath10k_htt_rx_mpdu_desc_pn_hl(rx_desc, &new_pn, peer->rx_pn[sec_index].pn_len); 2828 sec_type = peer->rx_pn[sec_index].sec_type; 2829 ath10k_htt_rx_mpdu_desc_pn_hl(rx_desc, &new_pn, peer->rx_pn[sec_index].pn_len); 4061 peer->rx_pn[sec_index].sec_type = sec_type; 4062 peer->rx_pn[sec_index].pn_len = ath10k_htt_rx_pn_len(sec_type);
|
H A D | core.h | 439 } rx_pn[ATH10K_HTT_TXRX_PEER_SECURITY_MAX]; member in struct:ath10k_peer
|