This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 1892ef825e6f6c71fe2d0ff1470bee0ec51504cf
Author: makejian <[email protected]>
AuthorDate: Tue Nov 10 17:56:37 2026 +0800

    crypto/mbedtls: allow the hardware entropy ALT with DEV_RPMSG
    
    On a system without a local /dev/random the hardware RNG can live on
    another core and be exported through the rpmsg device (DEV_RPMSG).
    Relax the MBEDTLS_ENTROPY_HARDWARE_ALT dependency to DEV_RANDOM ||
    DEV_RPMSG so the ALT can be enabled on those systems too.
    
    Signed-off-by: makejian <[email protected]>
---
 crypto/mbedtls/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/mbedtls/Kconfig b/crypto/mbedtls/Kconfig
index 5adf0d5df..860bbd547 100644
--- a/crypto/mbedtls/Kconfig
+++ b/crypto/mbedtls/Kconfig
@@ -56,7 +56,7 @@ config MBEDTLS_PLATFORM_MEMORY
 config MBEDTLS_ENTROPY_HARDWARE_ALT
        bool "Uncomment this macro to let mbed TLS use your own implementation 
of a hardware entropy collector."
        default n
-       depends on DEV_RANDOM
+       depends on DEV_RANDOM || DEV_RPMSG
        select MBEDTLS_NO_PLATFORM_ENTROPY
 
 config MBEDTLS_AES_ROM_TABLES

Reply via email to