Re: [PATCH v4 1/3] crypto: Add support for ECDSA signature verification

From: Herbert Xu
Date: Thu Jan 28 2021 - 20:36:19 EST


On Wed, Jan 27, 2021 at 07:14:10PM -0500, Stefan Berger wrote:
> From: Stefan Berger <stefanb@xxxxxxxxxxxxx>
>
> Add support for parsing the parameters of a NIST P256 or NIST P192 key.
> Enable signature verification using these keys.
>
> Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>
> Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: linux-crypto@xxxxxxxxxxxxxxx
> ---
> crypto/Makefile | 9 +-
> crypto/ecc.c | 279 +++++++++++++++++++++++++++++++++++++
> crypto/ecc.h | 2 +
> crypto/ecdsasignature.asn1 | 4 +
> 4 files changed, 293 insertions(+), 1 deletion(-)
> create mode 100644 crypto/ecdsasignature.asn1

Hi Stefan:

I forgot to cc you on the other thread at

https://lore.kernel.org/linux-crypto/20210128103908.GA32495@xxxxxxxxxxxxxxxxxxx/T/#u

Whatever we decide there would be applicable to your scenario too.
Please join the discussion on that thread.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt