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>
Showing
- Kconfig 8 additions, 0 deletionsKconfig
- common/Makefile 1 addition, 0 deletionscommon/Makefile
- common/image-cipher.c 63 additions, 0 deletionscommon/image-cipher.c
- common/image-fit.c 27 additions, 0 deletionscommon/image-fit.c
- include/image.h 63 additions, 0 deletionsinclude/image.h
- include/u-boot/aes.h 31 additions, 0 deletionsinclude/u-boot/aes.h
- lib/aes/aes-encrypt.c 136 additions, 0 deletionslib/aes/aes-encrypt.c
- tools/Makefile 13 additions, 1 deletiontools/Makefile
- tools/fit_image.c 82 additions, 1 deletiontools/fit_image.c
- tools/image-host.c 292 additions, 0 deletionstools/image-host.c
Loading
Please register or sign in to comment