ECC-LIB : A Library for Elliptic Curve Cryptography |

ECC-LIB is a fully-equipped, portable, and modular library for Elliptic Curve (EC) Cryptography that allows for the easy development of EC cryptographic protocols, and which can be readily tailored to suit different requirements and user needs. The library is implemented in ANSI C using the GNU Multiple Precision library for high-precision floating point arithmetic. The full source code is included, written entirely in standard, portable ANSI C. The basic constants of the library are: - bitlength: is defined in int_arithmetic.h and set the size of the underlying finite field F_p in bits.
- num_of_digits: is defined in create_e_and_pi.c and defines the size of the floating point number (in bits) that are used in the construction of the Weber and Hilbert polynomials.
- POLY_SIZE: is defined in poly_arithmetic.h and determines the maximum degree of the polynomials that are used.
- n_loops: is defined in hilbert.c and determines the number of the loops in function F() in weber.c and in function Delta() in hilbert.c.
- n_loops_baier: is defined in weber.h and determines the number of the loops in functions F_baier(), f0_baier(), f1_baier() and
- f2_baier() in weber.c.
The library consists of twelve source files and the corresponding twelve eader files. In particular: |