diff options
author | Simon Glass <sjg@chromium.org> | 2021-11-12 12:28:11 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-01-26 08:50:44 -0700 |
commit | c033dc8c0c4b744e028e124f88be4829309c75d1 (patch) | |
tree | 8b29d79edab956df71ecf9529f34b102842b54be /include/u-boot/rsa.h | |
parent | 99f844ba3a6b3ddd73742cddf7dee955bbb96c61 (diff) | |
download | u-boot-c033dc8c0c4b744e028e124f88be4829309c75d1.tar.gz |
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/u-boot/rsa.h')
-rw-r--r-- | include/u-boot/rsa.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/u-boot/rsa.h b/include/u-boot/rsa.h index 2ed2ac7e53..01b480d0f3 100644 --- a/include/u-boot/rsa.h +++ b/include/u-boot/rsa.h @@ -61,8 +61,9 @@ int rsa_sign(struct image_sign_info *info, * * @info: Specifies key and FIT information * @keydest: Destination FDT blob for public key data - * @return: 0, on success, -ENOSPC if the keydest FDT blob ran out of space, - other -ve value on error + * @return: node offset within the FDT blob where the data was written on + * success, -ENOSPC if the keydest FDT blob ran out of space, other -ve + * value on other error */ int rsa_add_verify_data(struct image_sign_info *info, void *keydest); |