On Wed, 9 Mar 2022 at 02:28, SESA644425 <giojaherm...@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.herm...@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 <s...@chromium.org> Should we add a test for these cases to test_vboot.py ?