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

Mario Six mario.six at gdsys.cc
Fri Jul 22 08:58:39 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 | 12 +++++++-----
 tools/image-host.c | 16 +++++++++++-----
 2 files changed, 18 insertions(+), 10 deletions(-)

--
2.9.0



More information about the U-Boot mailing list