1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
3 * LibTomCrypt is a library that provides various cryptographic
4 * algorithms in a highly modular and flexible manner.
6 * The library is free for all purposes without any express
10 /* Implements ECC over Z/pZ for curve y^2 = x^3 - 3x + b
12 * All curves taken from NIST recommendation paper of July 1999
13 * Available at http://csrc.nist.gov/cryptval/dss.htm
19 ECC Crypto, Tom St Denis
24 void ecc_sizes(int *low, int *high)
27 LTC_ARGCHKVD(low != NULL);
28 LTC_ARGCHKVD(high != NULL);
32 for (i = 0; ltc_ecc_sets[i].size != 0; i++) {
33 if (ltc_ecc_sets[i].size < *low) {
34 *low = ltc_ecc_sets[i].size;
36 if (ltc_ecc_sets[i].size > *high) {
37 *high = ltc_ecc_sets[i].size;
43 /* ref: $Format:%D$ */
44 /* git commit: $Format:%H$ */
45 /* commit time: $Format:%ai$ */