summaryrefslogtreecommitdiffstats
path: root/tools/fit_image.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-07 06:12:01 +0000
committerTom Rini <trini@ti.com>2013-05-14 15:37:25 -0400
commitbbb467dc3c79537eebc4d3551576a17f627e5e41 (patch)
treed4569a587c6da61ab22787232d19bdb134c3c351 /tools/fit_image.c
parent003efd7da48390d32956c24ab0d337ad452c83d2 (diff)
downloadtalos-obmc-uboot-bbb467dc3c79537eebc4d3551576a17f627e5e41.tar.gz
talos-obmc-uboot-bbb467dc3c79537eebc4d3551576a17f627e5e41.zip
image: Rename fit_add_hashes() to fit_add_verification_data()
We intend to add signatures to FITs also, so rename this function so that it is not specific to hashing. Also rename fit_image_set_hashes() and make it static since it is not used outside this file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'tools/fit_image.c')
-rw-r--r--tools/fit_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c
index 76bbba125a..8f511591a0 100644
--- a/tools/fit_image.c
+++ b/tools/fit_image.c
@@ -125,7 +125,7 @@ static int fit_handle_file (struct mkimage_params *params)
}
/* set hashes for images in the blob */
- if (fit_set_hashes (ptr)) {
+ if (fit_add_verification_data(ptr)) {
fprintf (stderr, "%s Can't add hashes to FIT blob",
params->cmdname);
unlink (tmpfile);
OpenPOWER on IntegriCloud