U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/2] Fix signing problems with large keys
@ 2016-07-22  6:58 Mario Six
  2016-07-22  6:58 ` [U-Boot] [PATCH v2 1/2] tools: Fix return code of fit_image_process_sig() Mario Six
  2016-07-22  6:58 ` [U-Boot] [PATCH v2 2/2] rsa: Fix return value and masked error Mario Six
  0 siblings, 2 replies; 6+ messages in thread
From: Mario Six @ 2016-07-22  6:58 UTC (permalink / raw)
  To: u-boot

This patch series fixes a problem that occurs when signing FIT images with
large keys (e.g. RSA with 4096 bits).

Signing sometimes fails because of unexpected return values from
fit_add_file_data() and the functions called by it.

Some error messages are also removed, since we tolerate failure of the
corresponding functions.

This is probably related to 1152a05 ("tools: Correct error handling in
fit_image_process_hash()") and the corresponding error reported here:

https://www.mail-archive.com/u-boot at lists.denx.de/msg217417.html

Mario Six (2):
  tools: Fix return code of fit_image_process_sig()
  rsa: Fix return value and masked error

 lib/rsa/rsa-sign.c | 12 +++++++-----
 tools/image-host.c | 16 +++++++++++-----
 2 files changed, 18 insertions(+), 10 deletions(-)

--
2.9.0

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

end of thread, other threads:[~2016-07-26  2:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22  6:58 [U-Boot] [PATCH v2 0/2] Fix signing problems with large keys Mario Six
2016-07-22  6:58 ` [U-Boot] [PATCH v2 1/2] tools: Fix return code of fit_image_process_sig() Mario Six
2016-07-26  2:31   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-07-22  6:58 ` [U-Boot] [PATCH v2 2/2] rsa: Fix return value and masked error Mario Six
2016-07-23  2:57   ` Simon Glass
2016-07-26  2:31   ` [U-Boot] [U-Boot, v2, " Tom Rini

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