Skip to content

Commit 4f779e2

Browse files
nvlsianpucarlescufi
authored andcommitted
cmake/sysbuild/b0_mcuboot_signing: fixed signing with PURE signature
Fix typo in Kconfig property check. Image was signed always as for a pre-hashed signature which caused that this didn't work for PURE ED25519. Signed-off-by: Andrzej Puzdrowski <[email protected]> (cherry picked from commit 73186d5)
1 parent 45eb5eb commit 4f779e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/sysbuild/b0_mcuboot_signing.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function(ncs_secure_boot_mcuboot_sign application bin_files signed_targets prefi
4848
set(encrypted_args)
4949

5050
if(SB_CONFIG_SOC_SERIES_NRF54LX AND SB_CONFIG_BOOT_SIGNATURE_TYPE_ED25519)
51-
if(NOT SB_CONFIG_SB_CONFIG_BOOT_SIGNATURE_TYPE_PURE)
51+
if(NOT SB_CONFIG_BOOT_SIGNATURE_TYPE_PURE)
5252
set(imgtool_extra --sha 512 ${imgtool_extra})
5353
else()
5454
set(imgtool_extra --pure ${imgtool_extra})

0 commit comments

Comments
 (0)