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 <vt@xxxxxxxxxxxx> > --- > crypto/ecc.c | 42 ++++++++++++++++++++++++++---------------- > 1 file changed, 26 insertions(+), 16 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt