mkimage: Allow to specify the signature algorithm on the command line
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 14 Jan 2022 09:21:19 +0000 (10:21 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 24 Jan 2022 15:35:10 +0000 (10:35 -0500)
commit5902a397d029008a98e8e83b7627635ed3a2cd06
treea9a7f6665bcf9d1166e02ab5aec3859b4d4d2f30
parent6ae24346891d7e9d22707949c61f09346b28d761
mkimage: Allow to specify the signature algorithm on the command line

This permits to prepare FIT image description that do not hard-code the
final choice of the signature algorithm, possibly requiring the user to
patch the sources.

When -o <algo> is specified, this information is used in favor of the
'algo' property in the signature node. Furthermore, that property is set
accordingly when writing the image.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
doc/mkimage.1
include/image.h
tools/fit_image.c
tools/image-host.c
tools/imagetool.h
tools/mkimage.c