summaryrefslogtreecommitdiff
path: root/crypto/ecc.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2024-04-04 10:18:48 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2024-04-12 15:07:52 +0800
commit2798a7e1988eed4ad34f37da1bdba26fc82383cf (patch)
treee8331424771b4c361fa0112962472656b4b88597 /crypto/ecc.c
parent43f6548dd86122c7e87a19c854ea6c54c845ba2e (diff)
downloadlinux-crypto-2798a7e1988eed4ad34f37da1bdba26fc82383cf.tar.gz
linux-crypto-2798a7e1988eed4ad34f37da1bdba26fc82383cf.zip
crypto: ecc - Add nbits field to ecc_curve structure
Add the number of bits a curve has to the ecc_curve definition to be able to derive the number of bytes a curve requires for its coordinates from it. It also allows one to identify a curve by its particular size. Set the number of bits on all curve definitions. Tested-by: Lukas Wunner <lukas@wunner.de> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Vitaly Chikunov <vt@altlinux.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ecc.c')
0 files changed, 0 insertions, 0 deletions