Implementation comparison: crypto_dh/curve25519

Operationcrypto_dh
Primitivecurve25519
Description Elliptic-curve Diffie--Hellman secret sharing using the curve y^2=x^3+486662x^2+x modulo 2^255-19
Designers Daniel J. Bernstein
Implementations mpfq Pierrick Gaudry, Laboratoire Lorrain de Recherche en Informatique et ses Applications
Emmanuel Thomé, Laboratoire Lorrain de Recherche en Informatique et ses Applications
ref Daniel J. Bernstein (wrapper around crypto_scalarmult/curve25519)