aboutsummaryrefslogtreecommitdiff
path: root/tools/fdt_host.h
diff options
context:
space:
mode:
authorSimon Glass2021-11-12 12:28:06 -0700
committerSimon Glass2022-01-26 08:50:43 -0700
commit70e6bcc43f541fbcb8e878dba8299e8e30943bcd (patch)
treeefcbdb7e1c7e71b2c83ae5899fe5bb2ed95995dc /tools/fdt_host.h
parent7ae46c35793bcc034f1300d8b79e3fd7e506537c (diff)
tools: Improve comments in signing functions
Add some more comments to explain what is going on in the signing functions. Fix two repeated typos. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/fdt_host.h')
-rw-r--r--tools/fdt_host.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/fdt_host.h b/tools/fdt_host.h
index 15c07c7a96e..bc42306c9e5 100644
--- a/tools/fdt_host.h
+++ b/tools/fdt_host.h
@@ -27,6 +27,14 @@
*/
int fdt_remove_unused_strings(const void *old, void *new);
+/**
+ * fit_check_sign() - Check a signature in a FIT
+ *
+ * @fit: FIT to check
+ * @key: Key FDT blob to check against
+ * @fit_uname_config: Name of configuration to check (NULL for default)
+ * @return 0 if OK, -ve if signature failed
+ */
int fit_check_sign(const void *fit, const void *key,
const char *fit_uname_config);