mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(rng): use adc_ll apis for ESP32-h4 and refactor rng_ll_enable/disable
This commit is contained in:
@@ -1247,14 +1247,6 @@ config SOC_CRYPTO_DPA_PROTECTION_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_RNG_BUF_CHAIN_ENTROPY_SOURCE
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_RNG_RTC_TIMER_ENTROPY_SOURCE
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_UART_NUM
|
||||
int
|
||||
default 3
|
||||
|
||||
@@ -510,10 +510,6 @@
|
||||
/*------------------------ Anti DPA (Security) CAPS --------------------------*/
|
||||
#define SOC_CRYPTO_DPA_PROTECTION_SUPPORTED 1
|
||||
|
||||
/*-------------------------- RNG CAPS ---------------------------------------*/
|
||||
#define SOC_RNG_BUF_CHAIN_ENTROPY_SOURCE 1
|
||||
#define SOC_RNG_RTC_TIMER_ENTROPY_SOURCE 1
|
||||
|
||||
/*-------------------------- UART CAPS ---------------------------------------*/
|
||||
// ESP32-C5 has 3 UARTs (2 HP UART, and 1 LP UART)
|
||||
#define SOC_UART_NUM (3)
|
||||
|
||||
Reference in New Issue
Block a user