crypto: ecc - Add NIST P521 curve parameters
authorStefan Berger <stefanb@linux.ibm.com>
Thu, 4 Apr 2024 14:18:51 +0000 (10:18 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 Apr 2024 07:07:52 +0000 (15:07 +0800)
commit288b46c57c658d3c798de0c9154e1215bdde8476
treea2a2ea7b5971a9e98e83908da639cc366262f5e1
parent114e80437e0e48b967d0bd533a4c8ff1186ce12f
crypto: ecc - Add NIST P521 curve parameters

Add the parameters for the NIST P521 curve and define a new curve ID
for it. Make the curve available in ecc_get_curve.

Tested-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ecc.c
crypto/ecc_curve_defs.h
include/crypto/ecdh.h