Very small Elliptic Curve Cryptography library - Mirror
Find a file
2015-10-25 16:01:42 +01:00
include/libuecc Add support for the Ed25519 curve 2015-10-17 18:09:32 +02:00
src Add support for the Ed25519 curve 2015-10-17 18:09:32 +02:00
.gitignore Initial version 2012-03-13 00:18:43 +01:00
CHANGELOG libuecc v6 2015-10-25 16:01:42 +01:00
CMakeLists.txt libuecc v6 2015-10-25 16:01:42 +01:00
COPYRIGHT Update copyright years 2015-01-26 05:45:45 +01:00
Doxyfile.in Update doxygen support 2015-01-26 19:40:28 +01:00
libuecc.pc.in Use LIB_SUFFIX in pkg-config information 2013-12-26 06:01:01 +01:00
README Add README and CHANGELOG 2015-10-23 19:00:41 +02:00
UseDoxygen.cmake Update doxygen support 2015-01-26 19:40:28 +01:00

libuecc is a very small generic-purpose Elliptic Curve Cryptography library
compatible with Ed25519.

Most documentation can be found as Doxygen comments in the ecc.h header
file. You can use `make doxygen` after running CMake to create HTML
documenation from it.

There are two sets of functions converting between libuecc's internal point
representation and coordinates or compressed representation. The functions
ending with _ed25519 use the same representation as original Ed25519
implementation and should be used by new software. The functions with the
suffix _legacy are provided for compatiblity with libuecc version before
v6.

Ed25519 and the legacy representation are isomorphic, they use a Twisted
Edwards Curve

    ax^2 + y^2 = 1 + dx^2y^2

over the prime field for p = 2^255 - 19.

Ed25519 uses the parameters

    a = -1 and
    d = -(121665/121666),

while the legacy curve has

    a = 486664
    d = 486660.