ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
secure_trng_internal.h
Go to the documentation of this file.
1
22
23#pragma once
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#include <stdint.h>
30
31#include "ra8_attributes.h"
32#include "ra8_err.h"
33
38typedef enum : uint16_t {
41
56
82RA8_PRIV [[nodiscard]] ra8_err_t priv_ra8_secure_trng_read(uint8_t* out, uint32_t len);
83
84#ifdef __cplusplus
85}
86#endif
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Definition ra8_err.h:546
ra8_secure_trng_limits_t
Sizing constants for priv_ra8_secure_trng_read.
@ k_ra8_secure_trng_max_bytes
Max bytes per call.
ra8_err_t priv_ra8_secure_trng_read(uint8_t *out, uint32_t len)
Fill [out, out+len) with TRNG-quality entropy.
ra8_err_t priv_ra8_secure_trng_reset(void)
Reset the TRNG seed (test-only; production reseeds from RSIP).