![]() |
nRF Connect SDK API 3.3.99
|
#include <stdint.h>#include <stdbool.h>#include <nrfx.h>#include <hal/nrf_cracen.h>Go to the source code of this file.
Macros | |
| #define | NRF_CRACENCORE_BASE ((uint32_t)NRF_CRACENCORE) |
| A portable symbol to a typed NRF_CRACENCORE. | |
| #define | CRACEN_ADDR_BA414EP_REGS_BASE ((uint32_t)(&NRF_CRACENCORE->PK)) |
| Base address of ba414ep register interface. | |
| #define | CRACEN_ADDR_BA414EP_CRYPTORAM_BASE ((uint32_t)(NRF_CRACENCORE_BASE + 0x8000)) |
| Base address of ba414ep crypto RAM. | |
| #define | CRACEN_SX_PK_MICROCODE_ADDRESS ((uint32_t)(NRF_CRACENCORE_BASE + 0xC000)) |
| Address of the SilexPK MicroCode. | |
Functions | |
| int | cracen_init (void) |
| Initialize CRACEN. | |
| void | cracen_acquire (void) |
| Increase the count of users of the CRACEN hw peripheral. Operation must call cracen_release when operation is finished. The CRACEN hw peripheral will be powered when number of users > 0. | |
| void | cracen_release (void) |
| Release the CRACEN hw peripheral. | |