]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Add back debug output of hashed nodes
authorLudwig Nussel <ludwig.nussel@siemens.com>
Tue, 10 Mar 2026 15:58:26 +0000 (16:58 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 27 Mar 2026 19:10:00 +0000 (13:10 -0600)
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 <ludwig.nussel@siemens.com>
boot/image-fit-sig.c

index f426ead13c03719bc38a7df93b64b80bc2c55647..e7a768b9addb4b365e4e5045e2872755624f6ca4 100644 (file)
@@ -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.