On 2026-10-08T06:59:47, Aristo Chen <[email protected]> wrote: > fit: use FIT_IV_PROP and FIT_IV_HINT for the iv properties > > Commit d0215d8718da ("tools: mkimage: use an explicit iv from the > cipher node when encrypting") added FIT_IV_HINT and FIT_IV_PROP but did > not convert the other places that spell the iv-name-hint and iv > property names out: fit_image_setup_decrypt() on the boot side and > image_aes_add_cipher_data() in mkimage, which stores the IV. Use the > constants there as well. > > This includes the iv property of the key node that mkimage adds to the > U-Boot device tree and U-Boot reads back. That node is not part of the > FIT, but lib/rsa/rsa-sign.c already uses FIT_KEY_HINT, FIT_ALGO_PROP and > FIT_KEY_REQUIRED for the properties of the key node it writes. > > No functional change intended. > > Signed-off-by: Aristo Chen <[email protected]> > > boot/image-cipher.c | 6 +++--- > lib/aes/aes-encrypt.c | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-)
Reviewed-by: Simon Glass <[email protected]>
