diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2018-11-05 11:36:18 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-11-16 14:09:39 +0800 |
commit | c64a86a8419ddd2ea29f56acf4613b259c396e66 (patch) | |
tree | 3afe9580f044247f77d162dcf38f05a4f0b402ad /crypto/authenc.c | |
parent | 350885e5b23da21035933530003c99a32dffca26 (diff) | |
download | linux-crypto-c64a86a8419ddd2ea29f56acf4613b259c396e66.tar.gz linux-crypto-c64a86a8419ddd2ea29f56acf4613b259c396e66.zip |
crypto: ecc - check for invalid values in the key verification test
Currently used scalar multiplication algorithm (Matthieu Rivain, 2011)
have invalid values for scalar == 1, n-1, and for regularized version
n-2, which was previously not checked. Verify that they are not used as
private keys.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/authenc.c')
0 files changed, 0 insertions, 0 deletions