[PATCH v5 03/15] ecdsa: initial support of ecdsa using mbedtls

Simon Glass sjg at chromium.org
Wed Apr 22 02:10:54 CEST 2026


Hi Philippe,

On 2026-04-21T21:09:51, Philippe Reynes <philippe.reynes at softathome.com> wrote:
> ecdsa: initial support of ecdsa using mbedtls
>
> Adds an initial support of ecdsa verify using mbedtls.
>
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
>
> include/crypto/ecdsa-uclass.h   |  15 +----
>  include/crypto/internal/ecdsa.h |  39 +++++++++++
>  lib/mbedtls/Makefile            |   3 +
>  lib/mbedtls/ecdsa.c             | 146 ++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 189 insertions(+), 14 deletions(-)

> diff --git a/include/crypto/internal/ecdsa.h b/include/crypto/internal/ecdsa.h
> @@ -0,0 +1,39 @@
> + * @pubkey : ecdsa public key
> + * @hash : Hash
> + * @hash_len : Size of the hash
> + * @signature : Signature
> + * @sig_len : Size of the signature

The kernel-doc style uses no space before the colon. Please can you
use @pubkey: etc.

Regards,
Simon


More information about the U-Boot mailing list