diff options
author | Saulo Alessandre <saulo.alessandre@tse.jus.br> | 2021-03-17 00:07:34 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-03-26 11:41:58 +0300 |
commit | 149ca1611d92411b812756475cf471a081dcadad (patch) | |
tree | 40742486f2b9f2733eb933a00c1934852214ebe0 /.get_maintainer.ignore | |
parent | 703c748d5f2c4f6d2b494405130d61b8275189cf (diff) | |
download | linux-149ca1611d92411b812756475cf471a081dcadad.tar.xz |
crypto: ecc - Add math to support fast NIST P384
Add the math needed for NIST P384 and adapt certain functions'
parameters so that the ecc_curve is passed to vli_mmod_fast. This
allows to identify the curve by its name prefix and the appropriate
function for fast mmod calculation can be used.
Summary of changes:
* crypto/ecc.c
- add vli_mmod_fast_384
- change some routines to pass ecc_curve forward until vli_mmod_fast
* crypto/ecc.h
- add ECC_CURVE_NIST_P384_DIGITS
- change ECC_MAX_DIGITS to P384 size
Signed-off-by: Saulo Alessandre <saulo.alessandre@tse.jus.br>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions