File tree Expand file tree Collapse file tree 5 files changed +26
-2
lines changed Expand file tree Collapse file tree 5 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,12 @@ function(zephyr_mcuboot_tasks)
158
158
set (confirmed_args )
159
159
set (encrypted_args )
160
160
161
+ if (NOT "${keyfile_enc} " STREQUAL "" )
162
+ if (CONFIG_MCUBOOT_ENCRYPTION_ALG_AES_256 )
163
+ set (imgtool_args ${imgtool_args} --encrypt-keylen 256 )
164
+ endif ()
165
+ endif ()
166
+
161
167
# Set up .bin outputs.
162
168
if (CONFIG_BUILD_OUTPUT_BIN )
163
169
if (CONFIG_BUILD_WITH_TFM )
Original file line number Diff line number Diff line change @@ -110,6 +110,12 @@ function(zephyr_mcuboot_tasks)
110
110
set (confirmed_args )
111
111
set (encrypted_args )
112
112
113
+ if (NOT "${keyfile_enc} " STREQUAL "" )
114
+ if (CONFIG_MCUBOOT_ENCRYPTION_ALG_AES_256 )
115
+ set (imgtool_args ${imgtool_args} --encrypt-keylen 256 )
116
+ endif ()
117
+ endif ()
118
+
113
119
# Set up .bin outputs.
114
120
if (CONFIG_BUILD_OUTPUT_BIN )
115
121
if (CONFIG_BUILD_WITH_TFM )
Original file line number Diff line number Diff line change @@ -157,6 +157,12 @@ function(zephyr_mcuboot_tasks)
157
157
set (confirmed_args )
158
158
set (encrypted_args )
159
159
160
+ if (NOT "${keyfile_enc} " STREQUAL "" )
161
+ if (CONFIG_MCUBOOT_ENCRYPTION_ALG_AES_256 )
162
+ set (imgtool_args ${imgtool_args} --encrypt-keylen 256 )
163
+ endif ()
164
+ endif ()
165
+
160
166
# Split files apart
161
167
split (
162
168
ELF_FILE_IN ${ZEPHYR_BINARY_DIR} /${KERNEL_ELF_NAME}
Original file line number Diff line number Diff line change @@ -200,6 +200,12 @@ function(mcuboot_sign_merged_nrf54h20 merged_hex main_image)
200
200
set (imgtool_args --sha 512 ${imgtool_args} )
201
201
endif ()
202
202
203
+ if (NOT "${keyfile_enc} " STREQUAL "" )
204
+ if (SB_CONFIG_BOOT_ENCRYPTION_ALG_AES_256 )
205
+ set (imgtool_args ${imgtool_args} --encrypt-keylen 256 )
206
+ endif ()
207
+ endif ()
208
+
203
209
# Set up .hex outputs.
204
210
if (SB_CONFIG_BUILD_OUTPUT_HEX )
205
211
list (APPEND byproducts ${output} .signed.hex )
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ manifest:
65
65
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
66
66
- name : zephyr
67
67
repo-path : sdk-zephyr
68
- revision : 53824876e35648dc8c2d6fb99e3756e7cd4d779f
68
+ revision : pull/3103/head
69
69
import :
70
70
# In addition to the zephyr repository itself, NCS also
71
71
# imports the contents of zephyr/west.yml at the above
@@ -128,7 +128,7 @@ manifest:
128
128
compare-by-default : true
129
129
- name : mcuboot
130
130
repo-path : sdk-mcuboot
131
- revision : 0fadab126d9ba51365b3db1cdb6d55ed892c62b4
131
+ revision : pull/481/head
132
132
path : bootloader/mcuboot
133
133
- name : qcbor
134
134
url : https://github.com/laurencelundblade/QCBOR
You can’t perform that action at this time.
0 commit comments