20#ifndef MBED_TRNG_API_H
21#define MBED_TRNG_API_H
26#if defined(DEVICE_TRNG) || defined(FEATURE_PSA)
int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_length)
Get random data from TRNG peripheral.
void trng_free(trng_t *obj)
Deinitialize the TRNG peripheral.
void trng_init(trng_t *obj)
Initialize the TRNG peripheral.
struct trng_s trng_t
TRNG HAL structure.