From 33e36e4e77646e6530df7601ca5c63dcd3a02563 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Tue, 31 Oct 2023 09:54:35 +0000 Subject: [PATCH] zephyr: kconfig: Make saving encrypt TLVs depending on encryption Prevents enabling the option to save encrypted TLVs if encryption support is not enabled, as it is required to make use of this functionality. Signed-off-by: Jamie McCrae --- boot/zephyr/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/zephyr/Kconfig b/boot/zephyr/Kconfig index 9517e91e05..1085577c57 100644 --- a/boot/zephyr/Kconfig +++ b/boot/zephyr/Kconfig @@ -293,6 +293,7 @@ config BOOT_BOOTSTRAP config BOOT_SWAP_SAVE_ENCTLV bool "Save encrypted key TLVs instead of plaintext keys in swap metadata" default n + depends on BOOT_ENCRYPT_IMAGE help If y, instead of saving the encrypted image keys in plaintext in the swap resume metadata, save the encrypted image TLVs. This should be used