Lines Matching refs:pn

87 	const u8 *ret = seq->ccmp.pn;  in iwl_mvm_find_max_pn()
95 const u8 *tmp = ptk_pn->q[i].pn[tid]; in iwl_mvm_find_max_pn()
278 aes_tx_sc->pn = cpu_to_le64(pn64); in iwl_mvm_wowlan_get_rsc_tsc_data()
291 const u8 *pn; in iwl_mvm_wowlan_get_rsc_tsc_data() local
302 pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, in iwl_mvm_wowlan_get_rsc_tsc_data()
304 aes_sc[i].pn = cpu_to_le64((u64)pn[5] | in iwl_mvm_wowlan_get_rsc_tsc_data()
305 ((u64)pn[4] << 8) | in iwl_mvm_wowlan_get_rsc_tsc_data()
306 ((u64)pn[3] << 16) | in iwl_mvm_wowlan_get_rsc_tsc_data()
307 ((u64)pn[2] << 24) | in iwl_mvm_wowlan_get_rsc_tsc_data()
308 ((u64)pn[1] << 32) | in iwl_mvm_wowlan_get_rsc_tsc_data()
309 ((u64)pn[0] << 40)); in iwl_mvm_wowlan_get_rsc_tsc_data()
315 u8 *pn = seq.ccmp.pn; in iwl_mvm_wowlan_get_rsc_tsc_data() local
318 aes_sc[i].pn = cpu_to_le64((u64)pn[5] | in iwl_mvm_wowlan_get_rsc_tsc_data()
319 ((u64)pn[4] << 8) | in iwl_mvm_wowlan_get_rsc_tsc_data()
320 ((u64)pn[3] << 16) | in iwl_mvm_wowlan_get_rsc_tsc_data()
321 ((u64)pn[2] << 24) | in iwl_mvm_wowlan_get_rsc_tsc_data()
322 ((u64)pn[1] << 32) | in iwl_mvm_wowlan_get_rsc_tsc_data()
323 ((u64)pn[0] << 40)); in iwl_mvm_wowlan_get_rsc_tsc_data()
412 const u8 *pn; in iwl_mvm_wowlan_get_rsc_v5_data() local
423 pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, in iwl_mvm_wowlan_get_rsc_v5_data()
425 rsc[i] = cpu_to_le64((u64)pn[5] | in iwl_mvm_wowlan_get_rsc_v5_data()
426 ((u64)pn[4] << 8) | in iwl_mvm_wowlan_get_rsc_v5_data()
427 ((u64)pn[3] << 16) | in iwl_mvm_wowlan_get_rsc_v5_data()
428 ((u64)pn[2] << 24) | in iwl_mvm_wowlan_get_rsc_v5_data()
429 ((u64)pn[1] << 32) | in iwl_mvm_wowlan_get_rsc_v5_data()
430 ((u64)pn[0] << 40)); in iwl_mvm_wowlan_get_rsc_v5_data()
436 u8 *pn = seq.ccmp.pn; in iwl_mvm_wowlan_get_rsc_v5_data() local
439 rsc[i] = cpu_to_le64((u64)pn[5] | in iwl_mvm_wowlan_get_rsc_v5_data()
440 ((u64)pn[4] << 8) | in iwl_mvm_wowlan_get_rsc_v5_data()
441 ((u64)pn[3] << 16) | in iwl_mvm_wowlan_get_rsc_v5_data()
442 ((u64)pn[2] << 24) | in iwl_mvm_wowlan_get_rsc_v5_data()
443 ((u64)pn[1] << 32) | in iwl_mvm_wowlan_get_rsc_v5_data()
444 ((u64)pn[0] << 40)); in iwl_mvm_wowlan_get_rsc_v5_data()
1562 u64 pn; in iwl_mvm_aes_sc_to_seq() local
1564 pn = le64_to_cpu(sc->pn); in iwl_mvm_aes_sc_to_seq()
1565 seq->ccmp.pn[0] = pn >> 40; in iwl_mvm_aes_sc_to_seq()
1566 seq->ccmp.pn[1] = pn >> 32; in iwl_mvm_aes_sc_to_seq()
1567 seq->ccmp.pn[2] = pn >> 24; in iwl_mvm_aes_sc_to_seq()
1568 seq->ccmp.pn[3] = pn >> 16; in iwl_mvm_aes_sc_to_seq()
1569 seq->ccmp.pn[4] = pn >> 8; in iwl_mvm_aes_sc_to_seq()
1570 seq->ccmp.pn[5] = pn; in iwl_mvm_aes_sc_to_seq()
1615 memcpy(ptk_pn->q[i].pn[tid], in iwl_mvm_set_aes_ptk_rx_seq()
1616 status->ptk.aes.seq[tid].ccmp.pn, in iwl_mvm_set_aes_ptk_rx_seq()
1641 status->ptk.aes.tx_pn = le64_to_cpu(sc->aes.tsc.pn); in iwl_mvm_convert_key_counters()