nrfxlib API
0.1.0
Loading...
Searching...
No Matches
nrf_cc3xx_platform.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
22
#ifndef NRF_CC3XX_PLATFORM_H__
23
#define NRF_CC3XX_PLATFORM_H__
24
25
#include <stdint.h>
26
#include <stddef.h>
27
#include <stdbool.h>
28
29
#include "
nrf_cc3xx_platform_defines.h
"
30
#include "
nrf_cc3xx_platform_abort.h
"
31
#include "
nrf_cc3xx_platform_mutex.h
"
32
33
#ifdef __cplusplus
34
extern
"C"
35
{
36
#endif
37
43
int
nrf_cc3xx_platform_init
(
void
);
44
45
54
int
nrf_cc3xx_platform_init_hmac_drbg
(
void
);
55
60
int
nrf_cc3xx_platform_init_no_rng
(
void
);
61
62
67
int
nrf_cc3xx_platform_deinit
(
void
);
68
69
74
bool
nrf_cc3xx_platform_is_initialized
(
void
);
75
76
82
bool
nrf_cc3xx_platform_rng_is_initialized
(
void
);
83
84
91
void
CRYPTOCELL_IRQHandler
(
void
);
92
93
100
int
nrf_cc3xx_platform_get_nonce_seed
(uint8_t buffer[
NRF_CC3XX_PLATFORM_EITS_NONCE_SIZE
]);
101
102
109
int
nrf_cc3xx_platform_get_boot_seed
(uint8_t buffer[
NRF_CC3XX_PLATFORM_TFM_BOOT_SEED_SIZE
]);
110
111
#ifdef __cplusplus
112
}
113
#endif
114
115
#endif
/* NRF_CC3XX_PLATFORM_H__ */
NRF_CC3XX_PLATFORM_TFM_BOOT_SEED_SIZE
#define NRF_CC3XX_PLATFORM_TFM_BOOT_SEED_SIZE
Definition of the TF-M boot seed size in bytes.
Definition:
nrf_cc3xx_platform_defines.h:30
NRF_CC3XX_PLATFORM_EITS_NONCE_SIZE
#define NRF_CC3XX_PLATFORM_EITS_NONCE_SIZE
Definition of the nonce size for EITS in bytes.
Definition:
nrf_cc3xx_platform_defines.h:26
nrf_cc3xx_platform_get_boot_seed
int nrf_cc3xx_platform_get_boot_seed(uint8_t buffer[(32)])
Function to get the boot seed used by TF-M attestation.
nrf_cc3xx_platform_init_hmac_drbg
int nrf_cc3xx_platform_init_hmac_drbg(void)
Function to initialize the nrf_cc3xx_platform with rng. The function is using HMAC_DRBG to generate a...
nrf_cc3xx_platform_is_initialized
bool nrf_cc3xx_platform_is_initialized(void)
Function to check if the nrf_cc3xx_platform is initialized.
nrf_cc3xx_platform_init
int nrf_cc3xx_platform_init(void)
Function to initialize the nrf_cc3xx_platform with rng support. The function is using CTR_DRBG to gen...
nrf_cc3xx_platform_get_nonce_seed
int nrf_cc3xx_platform_get_nonce_seed(uint8_t buffer[(8)])
Function to get the nonce seed used for encrypted ITS usage.
nrf_cc3xx_platform_init_no_rng
int nrf_cc3xx_platform_init_no_rng(void)
Function to initialize the nrf_cc3xx_platform without rng support.
nrf_cc3xx_platform_rng_is_initialized
bool nrf_cc3xx_platform_rng_is_initialized(void)
Function to check if the nrf_cc3xx_platform is initialized with RNG support.
nrf_cc3xx_platform_deinit
int nrf_cc3xx_platform_deinit(void)
Function to deinitialize the nrf_cc3xx_platform.
CRYPTOCELL_IRQHandler
void CRYPTOCELL_IRQHandler(void)
ISR Function for processing of cc3xx Interrupts. This cc3xx interrupt service routine function should...
nrf_cc3xx_platform_abort.h
nrf_cc3xx_platform_defines.h
nrf_cc3xx_platform_mutex.h
crypto
nrf_cc310_platform
include
nrf_cc3xx_platform.h
Generated on Thu Sep 26 2024 10:53:01 for nrfxlib API by
1.9.6