I'm stuck implementing encrypted firmwares on the nrf5340, ncs 3.0.2., with NSIB and MCUBoot.
I got signed DFU to work as described in Exercise 3 – DFU with external flash.
However, as soon as I also enable encryption by setting
SB_CONFIG_BOOT_ENCRYPTION_KEY_FILE="\${APP_DIR}/firmware-encryption-key.pem"
SB_CONFIG_BOOT_ENCRYPTION=y
in sysbuild.conf
I get compilation errors, starting with
fatal error: tinycrypt/aes.h: No such file or directory
I've also added
CONFIG_BOOT_ECDSA_TINYCRYPT=y
to sysbuild/mcuboot.conf, but to no avail.