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