diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-16 20:59:33 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-16 20:59:33 +0100 |
commit | 3ea1ba496ece8d6e0e90b4b6f32b59ae62052cda (patch) | |
tree | 58c738732657baceccbdbd8b56b7d55ce84907fe /include | |
parent | a3743a365adc74d79cac500980f216d5ece3f187 (diff) | |
download | libuecc-3ea1ba496ece8d6e0e90b4b6f32b59ae62052cda.tar libuecc-3ea1ba496ece8d6e0e90b4b6f32b59ae62052cda.zip |
For Edwards curves, the identity element isn't at infinity, so rename the identity check function accordingly
Diffstat (limited to 'include')
-rw-r--r-- | include/libuecc/ecc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libuecc/ecc.h b/include/libuecc/ecc.h index f535702..a422ecb 100644 --- a/include/libuecc/ecc.h +++ b/include/libuecc/ecc.h @@ -45,7 +45,7 @@ typedef struct _ecc_25519_work { void ecc_25519_load(ecc_25519_work *out, const ecc_public_key_256 *in); void ecc_25519_store(ecc_public_key_256 *out, const ecc_25519_work *in); -int ecc_25519_is_infinity(const ecc_25519_work *in); +int ecc_25519_is_identity(const ecc_25519_work *in); void ecc_25519_add(ecc_25519_work *out, const ecc_25519_work *in1, const ecc_25519_work *in2); void ecc_25519_double(ecc_25519_work *out, const ecc_25519_work *in); void ecc_25519_scalarmult(ecc_25519_work *out, const ecc_secret_key_256 *n, const ecc_25519_work *base); |