[PATCH v2 1/1] lib: rsa: fix padding_pss_verify

Tom Rini trini at konsulko.com
Thu Sep 15 16:01:11 CEST 2022


On Wed, 31 Aug 2022 21:13:40 +0200, Heinrich Schuchardt wrote:

> Check the that the hash length is shorter than the message length. This
> avoids:
> 
>     ./tools/../lib/rsa/rsa-verify.c:275:11: warning:
>     ‘*db’ may be used uninitialized [-Wmaybe-uninitialized]
>       275 |         db[0] &= 0xff >> leftmost_bits;
> 
> [...]

As there were two patches, I took this one as it updated the kernel-doc comment
as well, and I put the fixes tag from Joel's commit here.

Applied to u-boot/next, thanks!

-- 
Tom



More information about the U-Boot mailing list