image: Rename fit_image_check_hashes() to fit_image_verify()
[platform/kernel/u-boot.git] / common / cmd_ximg.c
index 02084b0..270e803 100644 (file)
@@ -162,7 +162,7 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 
                /* verify integrity */
                if (verify) {
-                       if (!fit_image_check_hashes(fit_hdr, noffset)) {
+                       if (!fit_image_verify(fit_hdr, noffset)) {
                                puts("Bad Data Hash\n");
                                return 1;
                        }