summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-11-12 22:28:11 +0300
committerSimon Glass <sjg@chromium.org>2022-01-26 18:50:44 +0300
commitc033dc8c0c4b744e028e124f88be4829309c75d1 (patch)
tree8b29d79edab956df71ecf9529f34b102842b54be /include/image.h
parent99f844ba3a6b3ddd73742cddf7dee955bbb96c61 (diff)
downloadu-boot-c033dc8c0c4b744e028e124f88be4829309c75d1.tar.xz
image: Return destination node for add_verify_data() method
It is useful to know where the verification data was written. Update the API to return this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index 780b624c8c..cf38aecaa9 100644
--- a/include/image.h
+++ b/include/image.h
@@ -1243,7 +1243,8 @@ struct crypto_algo {
*
* @info: Specifies key and FIT information
* @keydest: Destination FDT blob for public key data
- * @return: 0, on success, -ve on error
+ * @return: node offset within the FDT blob where the data was written,
+ * or -ve on error
*/
int (*add_verify_data)(struct image_sign_info *info, void *keydest);