commit | d586fc39bfa6e52960c54c38c82f72d7502bad99 | [log] [tgz] |
---|---|---|
author | Patrick Oppenlander <patrick.oppenlander@gmail.com> | Thu Jul 30 14:22:13 2020 +1000 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 07 11:47:18 2020 -0400 |
tree | 16c72284bab8d3152abfa1910f48254a985275c3 | |
parent | 506990672014fa3c25789dce352c26abf591b9b7 [diff] |
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 <patrick.oppenlander@gmail.com> Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>