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>
Showing
- common/image-cipher.c 104 additions, 0 deletionscommon/image-cipher.c
- common/image-fit.c 63 additions, 0 deletionscommon/image-fit.c
- include/image.h 12 additions, 0 deletionsinclude/image.h
- include/u-boot/aes.h 13 additions, 0 deletionsinclude/u-boot/aes.h
- lib/Makefile 1 addition, 0 deletionslib/Makefile
- lib/aes/Makefile 5 additions, 0 deletionslib/aes/Makefile
- lib/aes/aes-decrypt.c 41 additions, 0 deletionslib/aes/aes-decrypt.c
- tools/Makefile 1 addition, 1 deletiontools/Makefile
Loading
Please register or sign in to comment