]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: rsa: Update function padding_pss_verify (any-salt)
authorSESA644425 <giojahermann@gmail.com>
Wed, 9 Mar 2022 09:27:17 +0000 (01:27 -0800)
committerTom Rini <trini@konsulko.com>
Mon, 11 Apr 2022 15:39:19 +0000 (11:39 -0400)
commit81eff51047e2fb29f518f8a3721f539a68a11b6d
tree486e72833b382d1c9343c15fb4f678eb4d0ff77a
parentfb7330545e08876e26dae155f6f6d6788e4a102e
lib: rsa: Update function padding_pss_verify (any-salt)

Modify function to support any salt length instead of max
length only. Function now detects salt length by parsing
the content of db buffer. Note that it works with (but is
not limited to) zero-length, digest-length and max-length

Signed-off-by: SESA644425 <gioja.hermann@non.se.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/rsa/rsa-verify.c