summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2018-11-05 11:36:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-13 08:51:24 +0100
commita2b797bbec6f7dffcee554f5a7398f510d36e16d (patch)
tree4232e6518d76daf1241a4a609f869bafbe7b938f /include
parentf38b78cf6f7dc39722f55003c10abf9f8695a97b (diff)
crypto: ecc - check for invalid values in the key verification test
[ Upstream commit 2eb4942b6609d35a4e835644a33203b0aef7443d ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions