[PATCH v4 1/3] aes: Allow to store randomly generated IV in the FIT

Simon Glass sjg at chromium.org
Fri Dec 6 20:16:06 CET 2024


On Mon, 25 Nov 2024 at 10:47, Paul HENRYS
<paul.henrys_ext at softathome.com> wrote:
>
> When the initialisation vector is randomly generated, its value shall be
> stored in the FIT together with the encrypted data. The changes allow to
> store the IV in the FIT also in the case where the key is not stored in
> the DTB but retrieved somewhere else at runtime.
>
> Signed-off-by: Paul HENRYS <paul.henrys_ext at softathome.com>
> ---
> Changes for v4:
> - Add a function comment for add_cipher_data()
>
>  include/image.h       | 15 +++++++++++++++
>  lib/aes/aes-encrypt.c |  7 +++++++
>  tools/image-host.c    |  2 +-
>  3 files changed, 23 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list