Thread (2 messages) 2 messages, 2 authors, 2018-11-16

Re: [PATCH] crypto: ecc - check for invalid values in the key verification test

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2018-11-16 06:16:10
Also in: lkml

On Mon, Nov 05, 2018 at 11:36:18AM +0300, Vitaly Chikunov wrote:
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 <redacted>
---
 crypto/ecc.c | 42 ++++++++++++++++++++++++++----------------
 1 file changed, 26 insertions(+), 16 deletions(-)
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help