Searched refs:ccm_nonce (Results 1 – 4 of 4) sorted by relevance
/nrf_hw_models-latest/src/HW_models/ |
D | NHW_AES_CCM.c | 107 uint8_t *ccm_nonce) // Resulting nonce (NONCE_LEN bytes, little-endian) in nonce_calc() argument 114 ccm_nonce[i] = packet_counter & 0xFF; in nonce_calc() 117 ccm_nonce[i] = (packet_counter & 0x7F) | (packet_direction == 1 /*master to slave*/ ? 0x80 : 0); in nonce_calc() 119 memcpy(&ccm_nonce[NONCE_LEN - IV_LEN], iv, IV_LEN); in nonce_calc() 131 uint8_t ccm_nonce[NONCE_LEN]; in nrf_ccm_encrypt_tx() local 151 nonce_calc(iv, tx_pkt_ctr, pkt_direction, ccm_nonce); in nrf_ccm_encrypt_tx() 161 ccm_nonce in nrf_ccm_encrypt_tx() 177 uint8_t ccm_nonce[NONCE_LEN]; in nrf_ccm_decrypt_rx() local 204 nonce_calc(iv, rx_pkt_ctr, pkt_direction, ccm_nonce); in nrf_ccm_decrypt_rx() 214 ccm_nonce, in nrf_ccm_decrypt_rx()
|
D | BLECrypt_if.c | 63 const uint8_t *ccm_nonce, 75 const uint8_t *ccm_nonce, 340 const uint8_t *ccm_nonce, //CCM Nonce (noncelen bytes) in BLECrypt_if_encrypt_packet_v3() argument 356 ccm_nonce, in BLECrypt_if_encrypt_packet_v3() 364 ccm_nonce, in BLECrypt_if_encrypt_packet_v3() 394 const uint8_t *ccm_nonce, //CCM Nonce (noncelen bytes) in BLECrypt_if_decrypt_packet_v3() argument 408 ccm_nonce, in BLECrypt_if_decrypt_packet_v3() 423 ccm_nonce, in BLECrypt_if_decrypt_packet_v3()
|
D | BLECrypt_if.h | 70 const uint8_t *ccm_nonce, 80 const uint8_t *ccm_nonce,
|
D | NHW_54_AAR_CCM_ECB.c | 473 uint8_t *ccm_nonce = (uint8_t*)NRF_CCM_regs[inst]->NONCE.VALUE; in nhw_CCM_logic() local 484 hwu_reverse_byte_order(ccm_nonce, ccm_nonce_swapped, sizeof(ccm_nonce_swapped)); in nhw_CCM_logic()
|