Error with MCUboot image encryption when using sysbuild

Hello,

I am using nRF9160DK, nRF SDK 2.8.0 with sysbuild and trying to enable image encryption trough sysbuild Kconfig options. I have set SB_CONFIG_BOOT_ENCRYPTION and SB_CONFIG_BOOT_ENCRYPTION_KEY_FILE options.

When I build the project I get an error. From some older forum posts suggest that adding CONFIG_BOOT_ECDSA_TINYCRYPT=y option helps. I still got the same error when adding CONFIG_BOOT_ECDSA_TINYCRYPT=y to sysbuild/mcuboot/prj.conf.

error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"

Parents Reply
  • I'm glad to hear you are able to build the project now. We currently do not have official support for encrypted DFU in our SDK, though it is available through the MCUBoot project, which we include. Therefore, we do not have tests to uncover issues like these. I'm not able to provide a timeline for if or when support will be added. The last time I checked, it did not support secure key storage, which is likely something that would need to be implemented first.

Children
No Data
Related