Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 703c748d authored by Saulo Alessandre's avatar Saulo Alessandre Committed by Herbert Xu
Browse files

crypto: ecc - Add NIST P384 curve parameters


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

Summary of changes:

* crypto/ecc_curve_defs.h
  - add nist_p384 params

* include/crypto/ecdh.h
  - add ECC_CURVE_NIST_P384

* crypto/ecc.c
  - change ecc_get_curve to accept nist_p384

Signed-off-by: default avatarSaulo Alessandre <saulo.alessandre@tse.jus.br>
Tested-by: default avatarStefan Berger <stefanb@linux.ibm.com>
Acked-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4e660291
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment