Trident IoT SDK
Loading...
Searching...
No Matches
tr_hal_trng.h
Go to the documentation of this file.
1
11
12
#ifndef TR_HAL_TRNG_H_
13
#define TR_HAL_TRNG_H_
14
15
#include "tr_hal_platform.h"
16
17
23
24
25
// ****************************************************************************
26
// True Random Number Generator (TRNG) API functions
27
// ****************************************************************************
28
29
// if return is TR_HAL_SUCCESS then result was set to a 4 byte random number
30
tr_hal_status_t
tr_hal_trng_get_uint32
(uint32_t* result);
31
32
// if return is TR_HAL_SUCCESS then result was set to a 2 byte random number
33
tr_hal_status_t
tr_hal_trng_get_uint16
(uint16_t* result);
34
35
// if return is TR_HAL_SUCCESS then result was set to a 1 byte random number
36
tr_hal_status_t
tr_hal_trng_get_uint8
(uint8_t* result);
37
38
42
43
44
#endif
//TR_HAL_TRNG_H_
tr_hal_status_t
tr_hal_status_t
Definition
tr_hal_common.h:25
tr_hal_trng_get_uint32
tr_hal_status_t tr_hal_trng_get_uint32(uint32_t *result)
tr_hal_trng_get_uint8
tr_hal_status_t tr_hal_trng_get_uint8(uint8_t *result)
tr_hal_trng_get_uint16
tr_hal_status_t tr_hal_trng_get_uint16(uint16_t *result)
framework
hal
include
tr_hal_trng.h
Generated on Tue Jun 3 2025 02:01:43 for Trident IoT SDK by
1.10.0