From 3ea1ba496ece8d6e0e90b4b6f32b59ae62052cda Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 16 Mar 2012 20:59:33 +0100 Subject: For Edwards curves, the identity element isn't at infinity, so rename the identity check function accordingly --- include/libuecc/ecc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3