Go to the documentation of this file.
31 #ifndef _ESP32_S3_CRYPTO_TRNG_H
32 #define _ESP32_S3_CRYPTO_TRNG_H
38 #ifndef ESP32_S3_CRYPTO_TRNG_SUPPORT
39 #define ESP32_S3_CRYPTO_TRNG_SUPPORT ENABLED
40 #elif (ESP32_S3_CRYPTO_TRNG_SUPPORT != ENABLED && ESP32_S3_CRYPTO_TRNG_SUPPORT != DISABLED)
41 #error ESP32_S3_CRYPTO_TRNG_SUPPORT parameter is not valid
error_t trngGetRandomData(uint8_t *data, size_t length)
Get random data from the TRNG module.
void esp32s3RngInit(void)
RNG module initialization.
General definitions for cryptographic algorithms.