summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudwig Nussel <[email protected]>2026-03-10 16:58:26 +0100
committerTom Rini <[email protected]>2026-03-27 13:10:00 -0600
commit40269a6e01e55275b0146ebb4db14f801cb05cde (patch)
treee95e22d2a4d24140237cda8de785b74f943376c9
parent6334f2967873516a10f329e4022d02b713e5be31 (diff)
Add back debug output of hashed nodes
Commit 2092322b31cc ("boot: Add fit_config_get_hash_list() to build signed node list") removed printing the list of hashed nodes during verification. Add it back to have a chance to compare the list when debugging. Signed-off-by: Ludwig Nussel <[email protected]>
-rw-r--r--boot/image-fit-sig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/image-fit-sig.c b/boot/image-fit-sig.c
index f426ead13c0..e7a768b9add 100644
--- a/boot/image-fit-sig.c
+++ b/boot/image-fit-sig.c
@@ -476,6 +476,10 @@ static int fit_config_check_sig(const void *fit, int noffset, int conf_noffset,
return -1;
}
+ debug("Hash nodes (%d):\n", count);
+ for (int i = 0; i < count; ++i)
+ debug(" '%s'\n", node_inc[i]);
+
/*
* Each node can generate one region for each sub-node. Allow for
* 7 sub-nodes (hash-1, signature-1, etc.) and some extra.