Files
linux/include/crypto
Stefan Berger e7fb062754 crypto: ecc - Implement vli_mmod_fast_521 for NIST p521
Implement vli_mmod_fast_521 following the description for how to calculate
the modulus for NIST P521 in the NIST publication "Recommendations for
Discrete Logarithm-Based Cryptography: Elliptic Curve Domain Parameters"
section G.1.4.

NIST p521 requires 9 64bit digits, so increase the ECC_MAX_DIGITS so that
the vli digit array provides enough elements to fit the larger integers
required by this 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>
2024-04-12 15:07:52 +08:00
..
2024-04-02 10:49:38 +08:00
2024-04-02 10:49:38 +08:00
2024-04-02 10:49:38 +08:00
2024-04-02 10:49:38 +08:00
2022-12-02 18:12:40 +08:00
2023-06-05 09:36:35 +02:00
2021-03-26 19:55:55 +11:00
2024-04-02 10:49:38 +08:00
2024-04-02 10:49:38 +08:00
2019-08-05 18:40:19 -04:00
2024-04-02 10:49:38 +08:00
2023-10-05 18:16:31 +08:00
2024-04-02 10:49:38 +08:00
2022-04-08 16:12:46 +08:00
2023-01-06 17:15:47 +08:00