ldube commented on code in PR #19726:
URL: https://github.com/apache/nuttx/pull/19726#discussion_r3736316544


##########
arch/mips/src/jz4780/Kconfig:
##########
@@ -7,6 +7,12 @@ if ARCH_CHIP_JZ4780
 comment "JZ4780 Configuration Options"
 
 menu "JZ4780 Peripheral Support"
+
+config JZ4780_RNG
+       bool "Random Number Generator (RNG)"
+       default y

Review Comment:
   Because cryptographic entropy is a core security requirement rather than an 
optional feature. 
   The JZ4780 RNG is an integrated on-chip IP block and guaranteed to exist on 
every board using
   this SoC. If the RNG hardware is available, NuttX says it should be on by 
default. See drivers/crypto/Kconfig:
   
   config DEV_RANDOM
        bool "Enable /dev/random"
        default y
        depends on ARCH_HAVE_RNG
        ---help---
                Enable support for /dev/random provided by a hardware TRNG.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to