nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

CRACEN hardware and peripheral lifecycle management. More...

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.
 

Detailed Description

CRACEN hardware and peripheral lifecycle management.

CRACEN hardware base address macros and peripheral lifecycle API.

Provides hardware base address macros, and the peripheral lifecycle API (cracen_init, cracen_acquire, cracen_release ).

Note
These APIs are for internal use only. Applications must use the PSA Crypto API (psa_* functions) instead of calling these functions directly.