![Logo](ti_logo.svg) |
AM263Px MCU+ SDK
09.01.00
|
|
Go to the documentation of this file.
56 #include <security/crypto/pka/hw_include/cslr_cp_ace.h>
66 #define RNG_DRBG_MODE (TRUE)
68 #define RNG_DRBG_DISABLE_MODE (FALSE)
70 #define RNG_CONTROL_REQUEST_DATA_MASK (0x00010000U)
72 #define RNG_CONTROL_DATA_BLOCKS_MASK (0xFFF00000U)
74 #define RNG_CONTROL_DRBG_EN_SHIFT (0x0000000CU)
76 #define RNG_CONTROL_ENABLE_TRNG_SHIFT (0x0000000AU)
78 #define RNG_STATUS_RESEED_AI_MASK (0x00000400U)
80 #define RNG_DRBG_SEED_MAX_ARRY_SIZE_IN_DWORD (12U)
92 typedef enum RNG_Return_e
128 #define DEVTYPE_HSSE (0x0AU)
RNG attributes.
Definition: rng.h:100
uint32_t gRngConfigNum
Externally defined driver configuration Num.
RNG_Return_t RNG_setup(RNG_Handle handle)
setup the RNG module.
@ RNG_RETURN_SUCCESS
Definition: rng.h:94
uint32_t faultStatus
Definition: rng.h:112
RNG_Return_t
RNG Driver Error code.
Definition: rng.h:93
void * RNG_Handle
Handle to the RNG driver.
Definition: rng.h:82
uint32_t seedSizeInDwords
Definition: rng.h:116
RNG_Return_t RNG_read(RNG_Handle handle, uint32_t *out)
Read random numbers into the output buffer.
uint32_t mode
Definition: rng.h:108
uint32_t * seedValue
Definition: rng.h:114
uint32_t isOpen
Definition: rng.h:110
RNG driver context.
Definition: rng.h:122
RNG_Config gRngConfig[]
Externally defined driver configuration array.
RNG_Handle RNG_open(uint32_t index)
Function to Open RNG instance, Initialize clocks.
@ RNG_RETURN_FAILURE
Definition: rng.h:95
RNG_Return_t RNG_close(RNG_Handle handle)
Function to close a RNG module specified by the RNG handle.
uint32_t rngBaseAddr
Definition: rng.h:106
RNG_Attrs * attrs
Definition: rng.h:123
uint32_t caBaseAddr
Definition: rng.h:104