On Mon, 25 Nov 2024 at 10:47, Paul HENRYS
<[email protected]> 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 <[email protected]>
> ---
> 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 <[email protected]>

Reply via email to