Re: [PATCH] crypto: ecc - Add NIST P224 curve parameters
From: Simo Sorce
Date: Wed Jul 29 2026 - 15:56:37 EST
On Wed, 2026-07-29 at 21:06 +0200, Paul Louvel wrote:
> Hi Thomas, Simo,
>
> On Wed Jul 29, 2026 at 6:43 PM CEST, Thomas Huth wrote:
> > On 29/07/2026 17.51, Paul Louvel wrote:
> >> Add the parameters for the NIST P224 curve and define a new curve ID for
> >> it. Make the curve available in ecc_get_curve().
> >
> > May I ask: Who's going to consume this?
>
> I am in charge of upstreaming the ECDSA and ECDH support of a PKA device. The
> downstream driver is using the NIST P224 curve in it's code internally.
> We are waiting approval to upstream the driver, and I took the initiative to
> send the curve definition ahead of time, as I thought it might be better to have
> this definition in the core rather than in the driver itself.
>
> This is an old IP that is more than 10 years old, and seeing Simo Sorce's
> comment, it might not be a good idea to use this curve anymore.
I would simply not expose P224 at all, nothing should use it anyway.
Simo.
--
Simo Sorce
Distinguished Engineer
RHEL Crypto Team
Red Hat, Inc