]>
git.ipfire.org Git - people/ms/u-boot.git/blob - board/freescale/common/cmd_esbc_validate.c
8500ba583838f5a46c6a3f7d45913a0fee800696
2 * Copyright 2015 Freescale Semiconductor, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
9 #include <fsl_validate.h>
11 static int do_esbc_validate(cmd_tbl_t
*cmdtp
, int flag
, int argc
,
15 return cmd_usage(cmdtp
);
17 return fsl_secboot_validate(cmdtp
, flag
, argc
, argv
);
20 /***************************************************/
21 static char esbc_validate_help_text
[] =
22 "esbc_validate hdr_addr <hash_val> - Validates signature using\n"
24 " $hdr_addr Address of header of the image\n"
26 " $hash_val -Optional\n"
27 " It provides Hash of public/srk key to be\n"
28 " used to verify signature.\n";
31 esbc_validate
, 3, 0, do_esbc_validate
,
32 "Validates signature on a given image using RSA verification",
33 esbc_validate_help_text