From 5dff3b368fb18a3124d062456d14a9092568ad08 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 8 Dec 2012 12:11:28 +0100 Subject: Add some Doxygen documentation --- src/ec25519.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/ec25519.c b/src/ec25519.c index 915bd2c..64de22e 100644 --- a/src/ec25519.c +++ b/src/ec25519.c @@ -24,18 +24,18 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* - EC group operations for Twisted Edwards Curve ax^2 + y^2 = 1 + dx^2y^2 with - a = 486664 - d = 486660 - on prime field p = 2^255 - 19. - - The curve is equivalent to the Montgomery Curve used in D. J. Bernstein's - Curve25519 Diffie-Hellman algorithm - - See http://hyperelliptic.org/EFD/g1p/auto-twisted-extended.html for add and - double operations -*/ +/** \file + * EC group operations for Twisted Edwards Curve \f$ ax^2 + y^2 = 1 + dx^2y^2 \f$ with + * \f$ a = 486664 \f$ and + * \f$ d = 486660 \f$ + * on prime field \f$ p = 2^{255} - 19 \f$. + * + * The curve is equivalent to the Montgomery Curve used in D. J. Bernstein's + * Curve25519 Diffie-Hellman algorithm. + * + * See http://hyperelliptic.org/EFD/g1p/auto-twisted-extended.html for add and + * double operations. + */ #include -- cgit v1.2.3