[U-Boot] [PATCH 1/3] fit: Add support for SHA256 hash

Heiko Schocher hs at denx.de
Thu Feb 6 06:19:11 CET 2014


Hello Marek,

Am 06.02.2014 04:47, schrieb Marek Vasut:
> This patch adds support for SHA-256 hash into the FIT image. The usage is
> as with the other hashing algorithms:
>
> "
> 	hash at 1 {
> 		algo = "sha256";
> 	};
> "
>
> Signed-off-by: Marek Vasut<marex at denx.de>
> ---
>   common/image-fit.c |  5 +++++
>   include/image.h    | 15 ++++++++++++++-
>   tools/Makefile     |  2 ++
>   3 files changed, 21 insertions(+), 1 deletion(-)

seems I posted similiar patches ... you find them here:

[U-Boot,1/7] tools/image-host: fix sign-images bug
http://patchwork.ozlabs.org/patch/314125/

[U-Boot,2/7] fdt: add "fdt sign" command
http://patchwork.ozlabs.org/patch/314120/

[U-Boot,3/7] fit: add sha256 support
http://patchwork.ozlabs.org/patch/314126/

[U-Boot,4/7] rsa: add sha256-rsa2048 algorithm
http://patchwork.ozlabs.org/patch/314124/

[U-Boot,5/7] rsa: add sha256,rsa4096 algorithm
http://patchwork.ozlabs.org/patch/314121/

I reworked the comments, except one is missing, and I can post "v2"
Maybe you can try this patches?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list