Re: Convenient x-coordinate-only EC signing



D. J. Bernstein wrote:
On 2006-09-14, xmath <xmath.news@xxxxxxxxx> wrote:
This equation also holds if you use -R instead of R, so it doesn't
matter which one you recover.

You can just as easily pin down one to recover: R S(R), which is the
same as -R S(-R).

Yes, of course. The equation works for R or -R so you can just always
pick the one for which S(R) = 1 if that simplifies matter for you.

There's no reason for S to be hard to evaluate: for
example, protocols often take the square root below p/2.

I prefer the one which is 0 mod 2, easier to determine.


At first glance I prefer the sB = Q + H(Q,m) P form. Either way the
verifier has to recover one y-coordinate; the virtue of having this
be the y-coordinate of P is that it can be reused for other
signatures under the same public key. Is there an advantage the
other way?

Unless special care has been taken to make sure S(P) has a known value,
you won't know which of P and -P is right, and Q + h P will give really
different answers in the two cases.

This avoids mucking with the keygen, keeping it the same as for DH.
Making sure S(P) == 1 during keygen means it'll have to recover its
y-coordinate there, which is significant extra work, and means it'll
have to negate the private key correspondingly, which is an interface
change for the function.

My way keeps the mess confined inside sign.

- xmath

.



Relevant Pages

  • Re: Words derived from brand names
    ... examining evidence rather than accepting things on blind faith. ... case of global warming, the evidence shows pretty clearly that we ... the world will recover. ... is that it doesn't matter. ...
    (alt.usage.english)
  • Re: Why DemocRATS had to slur General Petraeus as General "Betray Us"
    ... How did Toni elect the tower no matter how the quick ball? ... Can will we recover after Ayub waits the reluctant show's outlook? ...
    (comp.robotics.misc)
  • Re: File undelete for ext3fs?
    ... Doesn't matter. ... Switch the partition back to e2fs. ... Well, it is /slightly/ safer, but not much safer. ... How can I possibly recover those missing files? ...
    (comp.os.linux.questions)
  • Re: Dental Miscue Part 1
    ... My initial motivation for studying into this matter ... >being a desperate need to recover my own health. ...
    (sci.med.dentistry)
  • Re: Truncated multiplication (is it secure???)
    ... you can't recover A. Reducing to the intersection is ... Alice chooses a random plane X, her secret key, and sends Bob her ... public key A = X/P. ... He can't recover X or Y. ...
    (sci.crypt)

Quantcast