[U-Boot] [PATCH 2/3] fit: rsa: Add groundwork to support other hashes

Wolfgang Denk wd at denx.de
Thu Feb 6 13:18:31 CET 2014


Dear Marek,

In message <1391658426-24799-2-git-send-email-marex at denx.de> you wrote:
> Separate out the SHA1 code from the rsa-sign.c and rsa-verify.c .
> Each file now has a function which does the correct hashing operation
> instead of having the SHA-1 hashing operation hard-coded in the rest
> of the code. This makes adding a new hashing operating much easier and
> cleaner.
...
> -						      noffset);
> +						      noffset, padding, pad_len);

Line too long.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is easier to write an incorrect program than understand a  correct
one.


More information about the U-Boot mailing list