d072ec9de1
Add the order of the base point to the public API
2012-12-08 12:15:49 +01:00
5dff3b368f
Add some Doxygen documentation
2012-12-08 12:11:28 +01:00
9aae1f4177
Reduce before reciprocation
2012-12-07 20:47:51 +01:00
80db8a2f72
Add GF reciprocal function
2012-12-07 20:11:54 +01:00
bccf64ec1b
Reworked the API
2012-12-07 19:07:37 +01:00
f67c3f36b9
Use the same key sanitization as Curve25519
2012-03-28 22:57:16 +02:00
f1d5eb1da9
Add ecc_25519_secret_sanitize stub implementation
2012-03-25 19:44:26 +02:00
89d237f36b
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.
2012-03-17 15:15:02 +01:00
3ea1ba496e
For Edwards curves, the identity element isn't at infinity, so rename the identity check function accordingly
2012-03-16 20:59:33 +01:00
a3743a365a
Simplyfy secret add, subtract and reduce functions
2012-03-15 08:48:18 +01:00
20529b77df
Improve modular multiplication performance
2012-03-15 07:24:00 +01:00
eec9db5e4d
Some more renamed, some utility functions
2012-03-14 10:47:16 +01:00
a3345c7d5b
Code cleanup
2012-03-14 06:37:19 +01:00
50019f858f
Fixed square_root()
2012-03-14 06:35:12 +01:00
0f4ce2313c
Formatting improvements
2012-03-14 05:02:35 +01:00
6c37af4a76
More renames, added secret key arithmetic
2012-03-14 04:15:02 +01:00
fb00f40057
Some renames, fix load function, add default base
2012-03-13 05:56:19 +01:00
b45baaba78
Correctly rename all functions to match header file
2012-03-13 00:26:33 +01:00
999ae91ffd
Initial version
2012-03-13 00:18:43 +01:00