u-boot: fit: add support to decrypt fit with aes
authorPhilippe Reynes <philippe.reynes@softathome.com>
Wed, 18 Dec 2019 17:25:42 +0000 (18:25 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 17 Jan 2020 15:16:29 +0000 (10:16 -0500)
commit4df3578119b043d76b86b50077b06898fc2a4f62
tree08667edb96f6a8efde767b10fabceafb746e3af7
parent7298e422504ef4455160216b9b7a1baa1169283f
u-boot: fit: add support to decrypt fit with aes

This commit add to u-boot the support to decrypt
fit image encrypted with aes. The FIT image contains
the key name and the IV name. Then u-boot look for
the key and IV in his device tree and decrypt images
before moving to the next stage.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
common/image-cipher.c
common/image-fit.c
include/image.h
include/u-boot/aes.h
lib/Makefile
lib/aes/Makefile [new file with mode: 0644]
lib/aes/aes-decrypt.c [new file with mode: 0644]
tools/Makefile