curve25519

Christian Weisgerber naddy at mips.inka.de
Fri Jun 12 01:56:50 AEST 2015


On 2015-06-10, Mehdi Sotoodeh <mehdisotoodeh at gmail.com> wrote:

> I have developed a compact at the same time high performance library for
> curve25519/ed25519 and I have placed it in the public domain. It support DH
> key exchange as well as ed25519 keygen, sign and verify. The implementation
> is constant-time, supports blinding, bulk-verify and more.
     ^^^^^^^^^^^^^
I'm skeptical of this claim.

The ecp_Cmp() function is blatantly not constant-time, and strewn
about the source there are various unbalanced if(...) branches and
while(...) loops with a variable number of iterations.

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de


More information about the openssh-unix-dev mailing list