]> Git Repo - u-boot.git/commit
mkimage: fit: only process one cipher node
authorPatrick Oppenlander <[email protected]>
Thu, 30 Jul 2020 04:22:13 +0000 (14:22 +1000)
committerTom Rini <[email protected]>
Fri, 7 Aug 2020 15:47:18 +0000 (11:47 -0400)
commitc520266f9a796f5f447f5e3b1da04a874500290a
tree16c72284bab8d3152abfa1910f48254a985275c3
parent410cf5e05cbc62d183364c9172c439ea8536f3c4
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: Patrick Oppenlander <[email protected]>
Reviewed-by: Philippe Reynes <[email protected]>
tools/image-host.c
This page took 0.033623 seconds and 4 git commands to generate.