[PATCH 0/3] Support any-salt for padding pss verification

SESA644425 giojahermann at gmail.com
Wed Mar 9 10:27:14 CET 2022

This patchset does add support for any salt length in function
padding_pss_verify which currently supports only max salt-length
option. The fix is preceded by two changes to enhance memory
consumption and const-correctness in the area of the patch.

- Hermann Gioja -

SESA644425 (3):
  lib: rsa: Fix const-correctness of rsassa_pss functions
  lib: rsa: Leverage existing data buffer instead of systematic copy
  lib: rsa: Update function padding_pss_verify (any-salt)

 include/image.h      |  2 +-
 include/u-boot/rsa.h |  4 +--
 lib/rsa/rsa-verify.c | 64 +++++++++++++++++++++++---------------------
 3 files changed, 36 insertions(+), 34 deletions(-)

base-commit: 6d3c46ed0e230d999c3f20f7fd4f3a88c03b14ca

More information about the U-Boot mailing list