nRF Connect SDK API
3.3.99
Loading...
Searching...
No Matches
hardware.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
18
#ifndef CRACEN_HARDWARE_H_
19
#define CRACEN_HARDWARE_H_
20
21
#include <stdint.h>
22
#include <stdbool.h>
23
#include <nrfx.h>
24
25
#include <hal/nrf_cracen.h>
26
27
#ifndef NRF_CRACENCORE_BASE
33
#define NRF_CRACENCORE_BASE ((uint32_t)NRF_CRACENCORE)
34
#endif
35
37
#define CRACEN_ADDR_BA414EP_REGS_BASE ((uint32_t)(&NRF_CRACENCORE->PK))
38
40
#define CRACEN_ADDR_BA414EP_CRYPTORAM_BASE ((uint32_t)(NRF_CRACENCORE_BASE + 0x8000))
41
43
#define CRACEN_SX_PK_MICROCODE_ADDRESS ((uint32_t)(NRF_CRACENCORE_BASE + 0xC000))
44
49
int
cracen_init
(
void
);
50
56
void
cracen_acquire
(
void
);
57
66
void
cracen_release
(
void
);
67
72
#endif
cracen_init
int cracen_init(void)
Initialize CRACEN.
cracen_release
void cracen_release(void)
Release the CRACEN hw peripheral.
cracen_acquire
void cracen_acquire(void)
Increase the count of users of the CRACEN hw peripheral. Operation must call cracen_release when oper...
subsys
nrf_security
src
drivers
cracen
common
include
cracen
hardware.h
Generated on Wed Jun 10 2026 17:22:24 for nRF Connect SDK API by
1.12.0