diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2024-04-04 10:18:50 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-04-12 15:07:52 +0800 |
commit | 0de2c02d3cf9af5f08ae135b0c5f1ffd6464ff19 (patch) | |
tree | 22f42efecb6062661c9b5ad28b0192e0f2df4918 /crypto/ecc_curve_defs.h | |
parent | d2a3837737aa1fe32cd3a6719f921cb74512cfa2 (diff) | |
download | linux-crypto-0de2c02d3cf9af5f08ae135b0c5f1ffd6464ff19.tar.gz linux-crypto-0de2c02d3cf9af5f08ae135b0c5f1ffd6464ff19.zip |
crypto: ecc - Add special case for NIST P521 in ecc_point_mult
In ecc_point_mult use the number of bits of the NIST P521 curve + 2. The
change is required specifically for NIST P521 to pass mathematical tests
on the public key.
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>
Diffstat (limited to 'crypto/ecc_curve_defs.h')
0 files changed, 0 insertions, 0 deletions