mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
928a8be794
Implement the crypto_algo .verify() function for ecdsa256. Because it backends on UCLASS_ECDSA, this change is focused on parsing the keys from devicetree and passing this information to the specific UCLASS driver. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
23 lines
692 B
Text
23 lines
692 B
Text
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"
|
|
help
|
|
Allow ECDSA signatures to be recognized and verified in SPL.
|
|
|
|
endif
|