summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-12-08 12:15:49 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-12-08 12:15:49 +0100
commitd072ec9de1830616a045ad679efbd5c17fe899c7 (patch)
tree05ea85a9e88db1802670dc47eef0057f761e4f69 /include
parent5dff3b368fb18a3124d062456d14a9092568ad08 (diff)
downloadlibuecc-d072ec9de1830616a045ad679efbd5c17fe899c7.tar
libuecc-d072ec9de1830616a045ad679efbd5c17fe899c7.zip
Add the order of the base point to the public API
Diffstat (limited to 'include')
-rw-r--r--include/libuecc/ecc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libuecc/ecc.h b/include/libuecc/ecc.h
index 42431ec..f8e3dfe 100644
--- a/include/libuecc/ecc.h
+++ b/include/libuecc/ecc.h
@@ -56,6 +56,7 @@ void ecc_25519_scalarmult(ecc_25519_work *out, const ecc_int_256 *n, const ecc_2
void ecc_25519_scalarmult_base(ecc_25519_work *out, const ecc_int_256 *n);
/* operations on elements of the prime field F_q for q = 2^252 + 27742317777372353535851937790883648493 */
+extern const ecc_int_256 ecc_25519_gf_order;
int ecc_25519_gf_is_zero(const ecc_int_256 *in);
void ecc_25519_gf_add(ecc_int_256 *out, const ecc_int_256 *in1, const ecc_int_256 *in2);
void ecc_25519_gf_sub(ecc_int_256 *out, const ecc_int_256 *in1, const ecc_int_256 *in2);