public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] Support any-salt for padding pss verification
@ 2022-03-09  9:27 SESA644425
  2022-03-09  9:27 ` [PATCH 1/3] lib: rsa: Fix const-correctness of rsassa_pss functions SESA644425
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: SESA644425 @ 2022-03-09  9:27 UTC (permalink / raw)
  To: sjg
  Cc: gioja.hermann, mr.nuke.me, jamin_lin, xypron.glpk,
	philippe.reynes, thomas.perrot, u-boot, giojahermann

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
-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-04-11 20:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-09  9:27 [PATCH 0/3] Support any-salt for padding pss verification SESA644425
2022-03-09  9:27 ` [PATCH 1/3] lib: rsa: Fix const-correctness of rsassa_pss functions SESA644425
2022-03-12  2:43   ` Simon Glass
2022-04-11 20:14   ` Tom Rini
2022-03-09  9:27 ` [PATCH 2/3] lib: rsa: Leverage existing data buffer instead of systematic copy SESA644425
2022-03-12  2:43   ` Simon Glass
2022-04-11 20:14   ` Tom Rini
2022-03-09  9:27 ` [PATCH 3/3] lib: rsa: Update function padding_pss_verify (any-salt) SESA644425
2022-03-12  2:43   ` Simon Glass
2022-04-11 20:14   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox