Skip to content

Commit

Permalink
[nrf fromlist] zephyr: Fixing Kconfig dependency for SHA512
Browse files Browse the repository at this point in the history
The SHA512_ALLOW Kconfig has been added to allow signature
algorithms to select which SHA they support. Unfortunately
it has been given dependency on PSA crypto, which now is problematic
because if signature algorithm wants to indicate that it allows
SHA512 it immediately becomes dependent on PSA crypto.

The commit removes the dependency.

Upstream PR: mcu-tools/mcuboot#2088

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
  • Loading branch information
de-nordic committed Oct 9, 2024
1 parent 94212b4 commit e873089
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion boot/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ config BOOT_IMG_HASH_ALG_SHA384_ALLOW

config BOOT_IMG_HASH_ALG_SHA512_ALLOW
bool
depends on BOOT_USE_PSA_CRYPTO
help
Hidden option set by configurations that allow SHA512

Expand Down

0 comments on commit e873089

Please sign in to comment.