Lines Matching refs:pn
82 u_int64_t pn, int lm, u_int8_t b[16], u_int8_t a[16], u_int8_t s0[16]) in ieee80211_ccmp_phase1() argument
131 nonce[ 7] = pn >> 40; /* PN5 */ in ieee80211_ccmp_phase1()
132 nonce[ 8] = pn >> 32; /* PN4 */ in ieee80211_ccmp_phase1()
133 nonce[ 9] = pn >> 24; /* PN3 */ in ieee80211_ccmp_phase1()
134 nonce[10] = pn >> 16; /* PN2 */ in ieee80211_ccmp_phase1()
135 nonce[11] = pn >> 8; /* PN1 */ in ieee80211_ccmp_phase1()
136 nonce[12] = pn; /* PN0 */ in ieee80211_ccmp_phase1()
304 ieee80211_ccmp_get_pn(uint64_t *pn, uint64_t **prsc, struct mbuf *m, in ieee80211_ccmp_get_pn() argument
332 *pn = (u_int64_t)ivp[0] | in ieee80211_ccmp_get_pn()
348 u_int64_t pn, *prsc; in ieee80211_ccmp_decrypt() local
370 if (ieee80211_ccmp_get_pn(&pn, &prsc, m0, k) != 0) { in ieee80211_ccmp_decrypt()
374 if (pn <= *prsc) { in ieee80211_ccmp_decrypt()
397 ieee80211_ccmp_phase1(&ctx->aesctx, wh, pn, in ieee80211_ccmp_decrypt()
482 *prsc = pn; in ieee80211_ccmp_decrypt()