Lines Matching refs:inptr
128 const uint8_t* inptr; in nrf_ccm_encrypt_tx() local
139 inptr = (const uint8_t*)NRF_CCM_regs.INPTR; in nrf_ccm_encrypt_tx()
142 length = inptr[1]; in nrf_ccm_encrypt_tx()
146 outptr[0] = inptr[0]; in nrf_ccm_encrypt_tx()
153 aad = inptr[0] & NRF_CCM_regs.HEADERMASK; in nrf_ccm_encrypt_tx()
156 (uint8_t*)&inptr[3], // Packet payload to be encrypted in nrf_ccm_encrypt_tx()
173 const uint8_t* inptr; in nrf_ccm_decrypt_rx() local
192 inptr = (const uint8_t*)NRF_CCM_regs.INPTR; in nrf_ccm_decrypt_rx()
195 length = inptr[1]; in nrf_ccm_decrypt_rx()
199 outptr[0] = inptr[0]; in nrf_ccm_decrypt_rx()
206 aad = inptr[0] & NRF_CCM_regs.HEADERMASK; in nrf_ccm_decrypt_rx()
209 (uint8_t*)&inptr[3], //as received from the air (including a MIC if has_mic) in nrf_ccm_decrypt_rx()
211 … inptr[1], //including MIC lenght if (has_mic == 1) ; [ just the length in the packet header ] in nrf_ccm_decrypt_rx()