diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2024-04-04 17:18:50 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-04-12 10:07:52 +0300 |
commit | 114e80437e0e48b967d0bd533a4c8ff1186ce12f (patch) | |
tree | a60b37a701fca4729a0c5af6f0ec34bbce7a835a /crypto/cbc.c | |
parent | e7fb062754ef9f656ee004f2be8f59ce8a79bffb (diff) | |
download | linux-114e80437e0e48b967d0bd533a4c8ff1186ce12f.tar.xz |
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/cbc.c')
0 files changed, 0 insertions, 0 deletions