Skip to content
Commit c520266f authored by Patrick Oppenlander's avatar Patrick Oppenlander Committed by Tom Rini
Browse files

mkimage: fit: only process one cipher node



Previously mkimage would process any node matching the regex cipher.*
and apply the ciphers to the image data in the order they appeared in
the FDT. This meant that data could be inadvertently ciphered multiple
times.

Switch to processing a single cipher node which exactly matches
FIT_CIPHER_NODENAME.

Signed-off-by: default avatarPatrick Oppenlander <patrick.oppenlander@gmail.com>
Reviewed-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
parent 410cf5e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment