u-boot/lib/ecdsa/Kconfig
Tom Rini b340199f82 spl: Ensure all SPL symbols in Kconfig have some SPL dependency
Tighten up symbol dependencies in a number of places.  Ensure that a SPL
specific option has at least a direct dependency on SPL.  In places
where it's clear that we depend on something more specific, use that
dependency instead.  This means in a very small number of places we can
drop redundant dependencies.

Reported-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
2022-07-07 09:29:08 -04:00

25 lines
708 B
Plaintext

config ECDSA
bool "Enable ECDSA support"
depends on DM
help
This enables the ECDSA (elliptic curve signature) algorithm for FIT
image verification in U-Boot. The ECDSA algorithm is implemented
using the driver model, so CONFIG_DM is required by this library.
See doc/uImage.FIT/signature.txt for more details.
ECDSA is enabled for mkimage regardless of this option.
if ECDSA
config ECDSA_VERIFY
bool "Enable ECDSA verification support in U-Boot."
help
Allow ECDSA signatures to be recognized and verified in U-Boot.
config SPL_ECDSA_VERIFY
bool "Enable ECDSA verification support in SPL"
depends on SPL
help
Allow ECDSA signatures to be recognized and verified in SPL.
endif