]> git.ipfire.org Git - thirdparty/u-boot.git/commit
tools: key2dtsi: Write out modulus and r-squared with the correct length
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 31 Oct 2025 09:35:16 +0000 (10:35 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 6 Nov 2025 14:31:25 +0000 (08:31 -0600)
commit77905c333e4fa1093154984cc65575b5cb7cc97d
tree8a291ff31cd6fcb5cffdfee3edf14b3b17519ae0
parent52442205d30eec4571a466c78dee0047677be56c
tools: key2dtsi: Write out modulus and r-squared with the correct length

Align the implementation to rsa_add_verify_data() by writing the modulus
and r-squared properties with the same length as the key itself. This
fixes signature verification issues when one of the parameters has
leading zeros.

Reported-by: Hans Gfirtner (Nokia) <hans.gfirtner@nokia.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/key2dtsi.py