diff options
author | Manorit Chawdhry <m-chawdhry@ti.com> | 2023-07-14 11:22:39 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-21 22:07:46 -0400 |
commit | dfe00b34ce6644ac37b8ab009359db8193af2ed4 (patch) | |
tree | 06b985bfb55bb23cfa3333a6127aa097d41d648b /lib | |
parent | 175535758aadebeccb47aeac7553fdba44f105f4 (diff) | |
download | u-boot-dfe00b34ce6644ac37b8ab009359db8193af2ed4.tar.gz u-boot-dfe00b34ce6644ac37b8ab009359db8193af2ed4.tar.bz2 u-boot-dfe00b34ce6644ac37b8ab009359db8193af2ed4.zip |
lib: Kconfig: k3: Enable SHA512 for fit signature
We are using our custMpk for signing that is a 4096 bit key, 4096 bit
rsa key requires a SHA512 hashing algorithm to be enabled as per the
source. Even though it is not mandated but this is how it works and is
tested.
Enables SHA512 if fit signature is enabled on K3 platforms.
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index c8b3ec1ec9..3926652db6 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -508,6 +508,7 @@ config SHA256 config SHA512 bool "Enable SHA512 support" + default y if TI_SECURE_DEVICE && FIT_SIGNATURE help This option enables support of hashing using SHA512 algorithm. The hash is calculated in software. |