Skip to content
  • Philippe Reynes's avatar
    fit: cipher: aes: allow to store the IV in the FIT image · a6982a6f
    Philippe Reynes authored and Tom Rini's avatar Tom Rini committed
    
    
    Binaries may be encrypted in a FIT image with AES. This
    algo needs a key and an IV (Initialization Vector). The
    IV is provided in a file (pointer by iv-name-hint in the
    ITS file) when building the ITB file.
    
    This commits adds provide an alternative way to manage
    the IV. If the property iv-name-hint is not provided in
    the ITS file, the tool mkimage will generate an random
    IV and store it in the FIT image.
    
    Signed-off-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
    a6982a6f