lib: Kconfig dependencies for pseudo-random library
[oweals/u-boot.git] / lib / Kconfig
index 499470c76355beaedf34b5797738f4cc12ccd73f..ab6aff710dd6e430ab41e17f0a889275208415bc 100644 (file)
@@ -7,6 +7,16 @@ config BCH
          This is used by SoC platforms which do not have built-in ELM
          hardware engine required for BCH ECC correction.
 
+config BINMAN_FDT
+       bool "Allow access to binman information in the device tree"
+       depends on BINMAN && OF_CONTROL
+       default y
+       help
+         This enables U-Boot to access information about binman entries,
+         stored in the device tree in a binman node. Typical uses are to
+         locate entries in the firmware image. See binman.h for the available
+         functionality.
+
 config CC_OPTIMIZE_LIBS_FOR_SPEED
        bool "Optimize libraries for speed"
        help
@@ -140,7 +150,8 @@ config REGEX
 
 choice
        prompt "Pseudo-random library support type"
-       depends on NET_RANDOM_ETHADDR || RANDOM_UUID || CMD_UUID
+       depends on NET_RANDOM_ETHADDR || RANDOM_UUID || CMD_UUID || \
+                  RNG_SANDBOX || UT_LIB && AES
        default LIB_RAND
        help
          Select the library to provide pseudo-random number generator
@@ -265,6 +276,7 @@ config AES
          present.
 
 source lib/rsa/Kconfig
+source lib/crypto/Kconfig
 
 config TPM
        bool "Trusted Platform Module (TPM) Support"
@@ -569,6 +581,16 @@ endmenu
 config ASN1_COMPILER
        bool
 
+config ASN1_DECODER
+       bool
+       help
+         Enable asn1 decoder library.
+
+config OID_REGISTRY
+       bool
+       help
+         Enable fast lookup object identifier registry.
+
 source lib/efi/Kconfig
 source lib/efi_loader/Kconfig
 source lib/optee/Kconfig