]> git.baikalelectronics.ru Git - uboot.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)
commite1926b4bcbdef110d4fefd1b4a15e5de5fe7b423
tree486e72833b382d1c9343c15fb4f678eb4d0ff77a
parentee167a970fa5a39d85efd5fcac7150cada4223a8
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