diff options
author | Patrick Oppenlander <patrick.oppenlander@gmail.com> | 2020-07-30 14:22:13 +1000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-07 11:47:18 -0400 |
commit | c520266f9a796f5f447f5e3b1da04a874500290a (patch) | |
tree | 16c72284bab8d3152abfa1910f48254a985275c3 /tools/ncb.c | |
parent | 410cf5e05cbc62d183364c9172c439ea8536f3c4 (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>
Diffstat (limited to 'tools/ncb.c')
0 files changed, 0 insertions, 0 deletions