1 /*
2  * Copyright (c) 2017 Oticon A/S
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef _NRF_HW_MODEL_AES_CCM_H
7 #define _NRF_HW_MODEL_AES_CCM_H
8 
9 #include "nrfx.h"
10 #include <stdbool.h>
11 
12 #ifdef __cplusplus
13 extern "C"{
14 #endif
15 
16 extern NRF_CCM_Type NRF_CCM_regs;
17 
18 void nrf_aes_ccm_init();
19 void nrf_aes_ccm_clean_up();
20 
21 void nrf_ccm_TASK_KSGEN();
22 void nrf_ccm_TASK_CRYPT();
23 void nrf_ccm_TASK_STOP();
24 void nrf_ccm_TASK_RATEOVERRIDE();
25 void nrf_ccm_radio_received_packet(bool crc_error);
26 void nrf_ccm_regw_sideeffects_INTENSET();
27 void nrf_ccm_regw_sideeffects_INTENCLR();
28 void nrf_ccm_regw_sideeffects_TASKS_KSGEN();
29 void nrf_ccm_regw_sideeffects_TASKS_CRYPT();
30 void nrf_ccm_regw_sideeffects_TASKS_STOP();
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif
37