summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-01-26 06:00:20 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-01-26 06:00:20 +0100
commit1591dbfc4d02b33a17345fd63fc2e8d1f6171638 (patch)
treef2251a8a7e0a3120159b2af1fef5bf9b1319e07c /include
parent2320e0231759d889c40fbbcb384a2df2236a2497 (diff)
downloadlibuecc-1591dbfc4d02b33a17345fd63fc2e8d1f6171638.tar
libuecc-1591dbfc4d02b33a17345fd63fc2e8d1f6171638.zip
Make default base and identity points accessible
Diffstat (limited to 'include')
-rw-r--r--include/libuecc/ecc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libuecc/ecc.h b/include/libuecc/ecc.h
index c9ea7d9..4f6b870 100644
--- a/include/libuecc/ecc.h
+++ b/include/libuecc/ecc.h
@@ -55,6 +55,9 @@ typedef struct _ecc_25519_work {
* @{
*/
+extern const ecc_25519_work_t ecc_25519_work_identity;
+extern const ecc_25519_work_t ecc_25519_work_default_base;
+
int ecc_25519_load_xy(ecc_25519_work_t *out, const ecc_int256_t *x, const ecc_int256_t *y);
void ecc_25519_store_xy(ecc_int256_t *x, ecc_int256_t *y, const ecc_25519_work_t *in);