Lines Matching refs:pn
95 const u8 *pn, u8 *iv, u8 *aad) in ccmp_init_iv_and_aad() argument
127 memcpy(iv + 8, pn, CCMP_PN_LEN); in ccmp_init_iv_and_aad()
263 u8 pn[6]; in lib80211_ccmp_decrypt() local
293 pn[0] = pos[7]; in lib80211_ccmp_decrypt()
294 pn[1] = pos[6]; in lib80211_ccmp_decrypt()
295 pn[2] = pos[5]; in lib80211_ccmp_decrypt()
296 pn[3] = pos[4]; in lib80211_ccmp_decrypt()
297 pn[4] = pos[1]; in lib80211_ccmp_decrypt()
298 pn[5] = pos[0]; in lib80211_ccmp_decrypt()
301 if (ccmp_replay_check(pn, key->rx_pn)) { in lib80211_ccmp_decrypt()
307 pn[0], pn[1], pn[2], pn[3], pn[4], pn[5]); in lib80211_ccmp_decrypt()
317 aad_len = ccmp_init_iv_and_aad(hdr, pn, iv, aad); in lib80211_ccmp_decrypt()
337 memcpy(key->rx_pn, pn, CCMP_PN_LEN); in lib80211_ccmp_decrypt()