diff options
author | Niels Möller <nisse@lysator.liu.se> | 2015-03-19 20:36:46 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2015-03-19 20:36:46 +0100 |
commit | b17739403c4a7bd5db0a9515380d69e4dd02344b (patch) | |
tree | 2f31cd1bf6e378b90891e7d5abca7aae3aecad14 /ecc-internal.h | |
parent | 5d4859c0b9f9a917d5d01c936654f611bde1d1e0 (diff) | |
download | nettle-b17739403c4a7bd5db0a9515380d69e4dd02344b.tar.gz |
Rename nettle_curve25519 to _nettle_curve25519, and remove declaration from ecc-curve.h.
Diffstat (limited to 'ecc-internal.h')
-rw-r--r-- | ecc-internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ecc-internal.h b/ecc-internal.h index 5e0a94d9..ce1e34fb 100644 --- a/ecc-internal.h +++ b/ecc-internal.h @@ -73,6 +73,12 @@ #define sec_modinv _nettle_sec_modinv #define curve25519_eh_to_x _nettle_curve25519_eh_to_x +/* Keep this structure internal for now. It's misnamed (since it's + really implementing the equivalent twisted Edwards curve, with + different coordinates). And we're not quite ready to provide + general ecc operations over an arbitrary type of curve. */ +extern const struct ecc_curve _nettle_curve25519; + #define ECC_MAX_SIZE ((521 + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS) /* Window size for ecc_mul_a. Using 4 bits seems like a good choice, |