lkml.org 
[lkml]   [2018]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] crypto: ecc - check for invalid values in the key verification test
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@altlinux.org>
> ---
> crypto/ecc.c | 42 ++++++++++++++++++++++++++----------------
> 1 file changed, 26 insertions(+), 16 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2018-11-16 07:17    [W:0.034 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site