Home
last modified time | relevance | path

Searched refs:rx_pn (Results 1 – 6 of 6) sorted by relevance

/net/wireless/
Dlib80211_crypt_ccmp.c44 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 …]
/net/mac80211/
Dkey.h90 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
Dkey.c643 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc()
663 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc()
685 key->u.aes_cmac.rx_pn[j] = in ieee80211_key_alloc()
705 key->u.aes_gmac.rx_pn[j] = in ieee80211_key_alloc()
724 key->u.gcmp.rx_pn[i][j] = in ieee80211_key_alloc()
1266 pn = key->u.ccmp.rx_pn[IEEE80211_NUM_TIDS]; in ieee80211_get_key_rx_seq()
1268 pn = key->u.ccmp.rx_pn[tid]; in ieee80211_get_key_rx_seq()
1275 pn = key->u.aes_cmac.rx_pn; in ieee80211_get_key_rx_seq()
1282 pn = key->u.aes_gmac.rx_pn; in ieee80211_get_key_rx_seq()
1290 pn = key->u.gcmp.rx_pn[IEEE80211_NUM_TIDS]; in ieee80211_get_key_rx_seq()
[all …]
Dwpa.c548 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()
Ddebugfs_key.c181 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()
Drx.c2276 rx->key->u.ccmp.rx_pn[queue], in ieee80211_rx_h_defragment()
2279 u.ccmp.rx_pn) != in ieee80211_rx_h_defragment()
2281 u.gcmp.rx_pn)); in ieee80211_rx_h_defragment()
2282 BUILD_BUG_ON(sizeof(rx->key->u.ccmp.rx_pn[queue]) != in ieee80211_rx_h_defragment()
2283 sizeof(rx->key->u.gcmp.rx_pn[queue])); in ieee80211_rx_h_defragment()