Searched refs:CCMP_PN_LEN (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 28 #define CCMP_PN_LEN 6 macro 34 u8 tx_pn[CCMP_PN_LEN]; 35 u8 rx_pn[CCMP_PN_LEN]; 124 memcpy(iv + 8, pn, CCMP_PN_LEN); in ccmp_init_iv_and_aad() 172 i = CCMP_PN_LEN - 1; in rtllib_ccmp_encrypt() 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()
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 33 #define CCMP_PN_LEN 6 macro 39 u8 tx_pn[CCMP_PN_LEN]; 40 u8 rx_pn[CCMP_PN_LEN]; 132 memcpy(iv + 8, pn, CCMP_PN_LEN); in ccmp_init_iv_and_aad() 179 i = CCMP_PN_LEN - 1; in ieee80211_ccmp_encrypt() 276 if (memcmp(pn, key->rx_pn, CCMP_PN_LEN) <= 0) { in ieee80211_ccmp_decrypt() 318 memcpy(key->rx_pn, pn, CCMP_PN_LEN); in ieee80211_ccmp_decrypt()
|
/linux-6.1.9/net/wireless/ |
D | lib80211_crypt_ccmp.c | 37 #define CCMP_PN_LEN 6 macro 43 u8 tx_pn[CCMP_PN_LEN]; 44 u8 rx_pn[CCMP_PN_LEN]; 127 memcpy(iv + 8, pn, CCMP_PN_LEN); in ccmp_init_iv_and_aad() 170 i = CCMP_PN_LEN - 1; in lib80211_ccmp_hdr() 337 memcpy(key->rx_pn, pn, CCMP_PN_LEN); in lib80211_ccmp_decrypt()
|