summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2022-02-05 15:19:36 +0300
committerTom Rini <trini@konsulko.com>2022-02-11 19:29:10 +0300
commit32a711dbdbec9aed6777d1059d115b1c83d36fca (patch)
treea4c6bedb7cc82074612c8a756781964b211432c4 /tools
parent42db3738065d5adb41f7481d21eb2823c929b8e6 (diff)
downloadu-boot-32a711dbdbec9aed6777d1059d115b1c83d36fca.tar.xz
mkimage: Improve documentation of algo-name parameter
Addresses the feedback provided on 5902a397d029 ("mkimage: Allow to specify the signature algorithm on the command line") which raced with the merge. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/imagetool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/imagetool.h b/tools/imagetool.h
index a4105515d8..c3f80fc64e 100644
--- a/tools/imagetool.h
+++ b/tools/imagetool.h
@@ -71,7 +71,9 @@ struct image_tool_params {
const char *keydest; /* Destination .dtb for public key */
const char *keyfile; /* Filename of private or public key */
const char *comment; /* Comment to add to signature node */
- const char *algo_name; /* Algorithm name to use hashing/signing */
+ /* Algorithm name to use for hashing/signing or NULL to use the one
+ * specified in the its */
+ const char *algo_name;
int require_keys; /* 1 to mark signing keys as 'required' */
int file_size; /* Total size of output file */
int orig_file_size; /* Original size for file before padding */