Re: [PATCH v12 02/10] crypto: Add support for ECDSA signature verification

2024-07-22 Thread Lukas Wunner
On Mon, Jul 22, 2024 at 08:19:41AM -0400, Stefan Berger wrote: > On 7/17/24 12:17, Lukas Wunner wrote: > > On Tue, Mar 16, 2021 at 05:07:32PM -0400, Stefan Berger wrote: > > > +/* > > > + * Get the r and s components of a signature from the X509 certificate. > > > + */ > > > +static int ecdsa_get_s

Re: [PATCH v12 02/10] crypto: Add support for ECDSA signature verification

2024-07-22 Thread Stefan Berger
On 7/17/24 12:17, Lukas Wunner wrote: Hi Stefan, On Tue, Mar 16, 2021 at 05:07:32PM -0400, Stefan Berger wrote: +/* + * Get the r and s components of a signature from the X509 certificate. + */ +static int ecdsa_get_signature_rs(u64 *dest, size_t hdrlen, unsigned char tag, +

Re: [PATCH v12 02/10] crypto: Add support for ECDSA signature verification

2024-07-17 Thread Lukas Wunner
Hi Stefan, On Tue, Mar 16, 2021 at 05:07:32PM -0400, Stefan Berger wrote: > +/* > + * Get the r and s components of a signature from the X509 certificate. > + */ > +static int ecdsa_get_signature_rs(u64 *dest, size_t hdrlen, unsigned char > tag, > + const void *value

[PATCH v12 02/10] crypto: Add support for ECDSA signature verification

2021-03-16 Thread Stefan Berger
Add support for parsing the parameters of a NIST P256 or NIST P192 key. Enable signature verification using these keys. The new module is enabled with CONFIG_ECDSA: Elliptic Curve Digital Signature Algorithm (NIST P192, P256 etc.) is A NIST cryptographic standard algorithm. Only signature verif