diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-12-08 12:11:28 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-12-08 12:11:28 +0100 |
commit | 5dff3b368fb18a3124d062456d14a9092568ad08 (patch) | |
tree | 48bce9ddda87cc2087bac8ea96ef06eb6ad763cf /src | |
parent | 9aae1f41775e49e498068bcf38a3110fde536f58 (diff) | |
download | libuecc-5dff3b368fb18a3124d062456d14a9092568ad08.tar libuecc-5dff3b368fb18a3124d062456d14a9092568ad08.zip |
Add some Doxygen documentation
Diffstat (limited to 'src')
-rw-r--r-- | src/ec25519.c | 24 |
1 files changed, 12 insertions, 12 deletions
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 <libuecc/ecc.h> |