[U-Boot] [PATCH 0/2] Fix signing problems with large keys

Mario Six mario.six at gdsys.cc
Tue Jul 19 11:07:05 CEST 2016


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@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 | 10 +++++-----
 tools/image-host.c | 13 +++++++------
 2 files changed, 12 insertions(+), 11 deletions(-)

--
2.9.0



More information about the U-Boot mailing list