mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jérémy Jean" <jeremy.jean@oss.cyber.gouv.fr>
To: Ignat Korchagin <ignat@linux.win>
Cc: Lukas Wunner <lukas@wunner.de>,
	Stefan Berger <stefanb@linux.ibm.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	"David S. Miller" <davem@davemloft.net>,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] crypto: ecc - Handle exceptional points in Shamir multiplication
Date: Sat, 26 Sep 2026 22:18:01 +0200	[thread overview]
Message-ID: <941ea3bacafb6c6dcc0edfe96a3f3fcd@oss.cyber.gouv.fr> (raw)
In-Reply-To: <CAOs+rJWUi+Lr-G9NcOzStqPQyCG_L8HC2ZTa6QZBTGD+AAQKSA@mail.gmail.com>

On 2026-09-26 16:17, Ignat Korchagin wrote:
> On Fri, Sep 25, 2026 at 2:23 PM Jérémy Jean
> <Jeremy.Jean@oss.cyber.gouv.fr> wrote:
>> 
>> Shamir multiplication mishandles equal points, opposite points and the
>> point at infinity. This rejects valid ECDSA signatures and can accept
>> invalid digest/signature tuples when the public key is G or -G. The
> 
> Can you provide/construct test vectors for these? The ones that were
> accepted, but should fail.

Hello Ignat,

Thanks for the answer.
Good idea, I will add some in a v2.

Jérémy

      reply	other threads:[~2026-09-26 20:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-25 13:22 Jérémy Jean
2026-09-26 14:17 ` Ignat Korchagin
2026-09-26 20:18   ` Jérémy Jean [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=941ea3bacafb6c6dcc0edfe96a3f3fcd@oss.cyber.gouv.fr \
    --to=jeremy.jean@oss.cyber.gouv.fr \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=ignat@linux.win \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=stefanb@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®