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>
This commit is contained in:
Manorit Chawdhry 2023-06-16 14:34:30 +05:30 committed by Udit Kumar
parent 9dc6f87640
commit 13b330292c
1 changed files with 1 additions and 0 deletions

View File

@ -496,6 +496,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.