[PATCH v4 12/14] tools: preload_check_sign: add support of ecdsa

Simon Glass sjg at chromium.org
Mon Apr 20 04:12:41 CEST 2026


Hi Philippe,

On 2026-04-17T13:02:04, Philippe Reynes <philippe.reynes at softathome.com> wrote:
> tools: preload_check_sign: add support of ecdsa
>
> right now, the tool preload_check_sign may only
> checks an image with a pre-load header with rsa.
> We add the support of pre-load header with ecdsa.
>
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
>
> tools/preload_check_sign.c | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)

> diff --git a/tools/preload_check_sign.c b/tools/preload_check_sign.c
> @@ -8,6 +8,9 @@
> +#define OPENSSL_API_COMPAT 0x10101000L
> +
> #include <stdio.h>

This patch uses EC_KEY, EC_GROUP etc. so can you add <openssl/ec.h> ?

Reviewed-by: Simon Glass <sjg at chromium.org>

Regards,
Simon


More information about the U-Boot mailing list