[PATCH 3/3] lib: rsa: Update function padding_pss_verify (any-salt)
Simon Glass
sjg at chromium.org
Sat Mar 12 03:43:54 CET 2022
On Wed, 9 Mar 2022 at 02:28, SESA644425 <giojahermann at gmail.com> wrote:
>
> 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 at non.se.com>
> ---
> Despite checkpath.pl recommendation, it is not possible to use u8 instead
> of uint8_t. Proceeding with u8 breaks build with error: unknown type name u8
> lib/rsa/rsa-verify.c | 19 +++++++++++--------
> 1 file changed, 11 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
Should we add a test for these cases to test_vboot.py ?
More information about the U-Boot
mailing list