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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9b540556a netutils/dropbear: don't require a hardware TRNG
9b540556a is described below

commit 9b540556a1ecfbae17598b8766918ed04d486d9d
Author: Felipe Moura <[email protected]>
AuthorDate: Sat Jul 11 12:11:54 2026 -0300

    netutils/dropbear: don't require a hardware TRNG
    
    Dropbear gathers its entropy from /dev/urandom (libtomcrypt's
    rng_get_bytes tries /dev/urandom before /dev/random), so requiring
    ARCH_HAVE_RNG and DEV_RANDOM shuts the port out of targets without a
    hardware TRNG -- including the simulator, where a dropbear
    configuration silently loses NETUTILS_DROPBEAR at configure time.
    Keep only the DEV_URANDOM requirement.
    
    Signed-off-by: Felipe Moura <[email protected]>
---
 netutils/dropbear/Kconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/netutils/dropbear/Kconfig b/netutils/dropbear/Kconfig
index 94eee878c..8e7c0868e 100644
--- a/netutils/dropbear/Kconfig
+++ b/netutils/dropbear/Kconfig
@@ -14,8 +14,6 @@ menuconfig NETUTILS_DROPBEAR
        depends on FSUTILS_PASSWD
        depends on PSEUDOTERM
        depends on SERIAL
-       depends on ARCH_HAVE_RNG
-       depends on DEV_RANDOM
        depends on DEV_URANDOM
        depends on LIBC_NETDB
        depends on LIBC_GAISTRERROR

Reply via email to