Brian Smith <br...@briansmith.org> wrote: > The issue is particularly clear when we multiply the generator by > zero. Note that in general, an application shouldn't multiply the > generator by zero since there's no useful cryptographic purpose for > doing so. But, this is a convenient example.
Sorry, I was wrong. From the definition of ECDSA: H = Hash(M). Convert the bit string H to an integer e. w = s**−1 mod n u1 = (e * w) mod n R = u1*G + u2*Q If the highest 256 bits of Hash(M) are zero, then e == 0 and then u1 == 0 * w == 0. So, it probably is important to handle g_scalar == 0 in the way I described in my earlier message, using the conditional copy. Cheers, Brian -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4626 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev