diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2021-07-29 19:47:17 +0300 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2021-08-16 11:49:35 +0300 |
commit | ee870859ce19a3b1b932e946646cb85f2474ab39 (patch) | |
tree | a54c21f9df075cf7e3ab078dc1b5a2e038a16e6e /arch/arm/mach-stm32mp/Kconfig | |
parent | 928a8be79480b0e2ea2461a7b2533d3e71bcb3e6 (diff) | |
download | u-boot-ee870859ce19a3b1b932e946646cb85f2474ab39.tar.xz |
arm: stm32mp1: Implement ECDSA signature verification
The STM32MP ROM provides several service. One of them is the ability
to verify ecdsa256 signatures. Hook the ROM API into the ECDSA uclass.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/Kconfig')
-rw-r--r-- | arch/arm/mach-stm32mp/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig index 8324fa828a..5d7eca649a 100644 --- a/arch/arm/mach-stm32mp/Kconfig +++ b/arch/arm/mach-stm32mp/Kconfig @@ -179,6 +179,15 @@ config STM32_ETZPC help Say y to enable STM32 Extended TrustZone Protection +config STM32_ECDSA_VERIFY + bool "STM32 ECDSA verification via the ROM API" + depends on SPL_ECDSA_VERIFY + default y + help + Say y to enable the uclass driver for ECDSA verification using the + ROM API provided on STM32MP. + The ROM API is only available during SPL for now. + config CMD_STM32KEY bool "command stm32key to fuse public key hash" default n |