Skip to content

Support any-salt for padding pss verification

SESA644425 u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib: rsa: Fix const-correctness of rsassa_pss functionsinclude/image.h include/u-boot/rsa.h lib/rsa/rsa-verify.c+10 -102 replies
2/3lib: rsa: Leverage existing data buffer instead of systematic copylib/rsa/rsa-verify.c+18 -192 replies
3/3lib: rsa: Update function padding_pss_verify (any-salt)lib/rsa/rsa-verify.c+11 -82 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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

Signature · 1 line
2.25.1