diff options
| author | Jan Kiszka <[email protected]> | 2022-02-05 13:19:36 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-02-11 11:29:10 -0500 |
| commit | 32a711dbdbec9aed6777d1059d115b1c83d36fca (patch) | |
| tree | a4c6bedb7cc82074612c8a756781964b211432c4 /tools | |
| parent | 42db3738065d5adb41f7481d21eb2823c929b8e6 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/imagetool.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/imagetool.h b/tools/imagetool.h index a4105515d81..c3f80fc64e8 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 */ |
