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 @@ -159,6 +159,12 @@ function(zephyr_mcuboot_tasks)
159
159
set (confirmed_args )
160
160
set (encrypted_args )
161
161
162
+ if (NOT "${keyfile_enc} " STREQUAL "" )
163
+ if (CONFIG_MCUBOOT_ENCRYPTION_ALG_AES_256 )
164
+ set (imgtool_args ${imgtool_args} --encrypt-keylen 256 )
165
+ endif ()
166
+ endif ()
167
+
162
168
# Set up .bin outputs.
163
169
if (CONFIG_BUILD_OUTPUT_BIN )
164
170
if (CONFIG_BUILD_WITH_TFM )
Original file line number Diff line number Diff line change @@ -111,6 +111,12 @@ function(zephyr_mcuboot_tasks)
111
111
set (confirmed_args )
112
112
set (encrypted_args )
113
113
114
+ if (NOT "${keyfile_enc} " STREQUAL "" )
115
+ if (CONFIG_MCUBOOT_ENCRYPTION_ALG_AES_256 )
116
+ set (imgtool_args ${imgtool_args} --encrypt-keylen 256 )
117
+ endif ()
118
+ endif ()
119
+
114
120
# Set up .bin outputs.
115
121
if (CONFIG_BUILD_OUTPUT_BIN )
116
122
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 @@ -190,6 +190,12 @@ function(mcuboot_sign_merged_nrf54h20 merged_hex main_image)
190
190
# List of additional build byproducts.
191
191
set (byproducts ${output} .merged.hex )
192
192
193
+ if (NOT "${keyfile_enc} " STREQUAL "" )
194
+ if (SB_CONFIG_BOOT_ENCRYPTION_ALG_AES_256 )
195
+ set (imgtool_args ${imgtool_args} --encrypt-keylen 256 )
196
+ endif ()
197
+ endif ()
198
+
193
199
# Set up .hex outputs.
194
200
if (SB_CONFIG_BUILD_OUTPUT_HEX )
195
201
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 : 68667033b9bedfdd1a106f2ab712e126779de9ad
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 : d24b28f652e2eeb6117b9c60fca0277db3d4e226
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