From 89d237f36b932dcacda031921bb961c24c3aa596 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 17 Mar 2012 15:15:02 +0100 Subject: Switch from inverted to extended coordinate representation In inverted coordinates there are 4 points that aren't representable correctly. Avoid this problem by using the extended coordinate representation, in which an add+double operation has essentially the same performance as in the inverted representation. --- include/libuecc/ecc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libuecc/ecc.h b/include/libuecc/ecc.h index a422ecb..e2fc545 100644 --- a/include/libuecc/ecc.h +++ b/include/libuecc/ecc.h @@ -39,6 +39,7 @@ typedef struct _ecc_25519_work { unsigned int X[32]; unsigned int Y[32]; unsigned int Z[32]; + unsigned int T[32]; } ecc_25519_work; -- cgit v1.2.3