summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2019-12-18 18:25:41 +0100
committerTom Rini <trini@konsulko.com>2020-01-17 10:15:49 -0500
commit7298e422504ef4455160216b9b7a1baa1169283f (patch)
tree35e93c2a2a6c11b683523b657593bd93ef5fd978 /Kconfig
parent1c6cd16de810f88c27c5c945a30e0e9f3842df68 (diff)
downloadu-boot-7298e422504ef4455160216b9b7a1baa1169283f.tar.gz
u-boot-7298e422504ef4455160216b9b7a1baa1169283f.tar.bz2
u-boot-7298e422504ef4455160216b9b7a1baa1169283f.zip
mkimage: fit: add support to encrypt image with aes
This commit add the support of encrypting image with aes in mkimage. To enable the ciphering, a node cipher with a reference to a key and IV (Initialization Vector) must be added to the its file. Then mkimage add the encrypted image to the FIT and add the key and IV to the u-boot device tree. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index d9be0daf23..caae4aecbd 100644
--- a/Kconfig
+++ b/Kconfig
@@ -383,6 +383,14 @@ config FIT_ENABLE_RSASSA_PSS_SUPPORT
Enable this to support the pss padding algorithm as described
in the rfc8017 (https://tools.ietf.org/html/rfc8017).
+config FIT_CIPHER
+ bool "Enable ciphering data in a FIT uImages"
+ depends on DM
+ select AES
+ help
+ Enable the feature of data ciphering/unciphering in the tool mkimage
+ and in the u-boot support of the FIT image.
+
config FIT_VERBOSE
bool "Show verbose messages when FIT images fail"
help