Commit graph

57 commits

Author SHA1 Message Date
Helder Eijs
3c01bff7dd ECC P-256: use pre-generated tables when multiplying the generator 2019-02-19 21:59:26 +01:00
Helder Eijs
762e95850b Use xy accessor 2019-02-15 23:32:09 +01:00
Helder Eijs
f0950b40c6 Don't check if point is on the curve twice 2019-02-15 23:29:43 +01:00
Helder Eijs
a27cc03a4c Blind the scalar in EC multiplication 2019-02-11 23:19:52 +01:00
Helder Eijs
aeb811d29f Blind the EC base point 2019-02-11 23:19:52 +01:00
Helder Eijs
f9917e4ac1 Better EC error messages 2019-02-05 09:36:47 +01:00
Helder Eijs
7b70e6f151 Fix benchmark 2019-02-05 09:36:47 +01:00
Helder Eijs
dd1de95385 Add in-place scalar multiplication 2019-02-05 09:36:47 +01:00
Helder Eijs
55a60393ca Fix linkage on Windows 2019-02-05 09:36:47 +01:00
Helder Eijs
00e862200e Add tests and move EC to native code 2019-02-05 09:36:47 +01:00
Helder Eijs
cd7f0128b6 Make code base suitable for Python 2 and 3 - stop using 2to3 2018-11-04 15:04:23 +01:00
André Lochotzke
c52f5f8356
Fix documentation 2018-10-26 18:03:11 +02:00
Helder Eijs
066b8969ee More cleanup 2018-10-16 22:09:53 +02:00
Helder Eijs
8c4824982b General cleanup, remove old constructs 2018-10-13 21:34:44 +02:00
Helder Eijs
4242e82e9e Modern syntax for except statement 2018-06-12 14:15:39 +02:00
Helder Eijs
383858e09b Added Wycheproof tests for ECDSA 2018-04-13 23:18:04 +02:00
Helder Eijs
86d2def716 Add export of ECC keys in compressed form 2018-02-16 14:05:08 +01:00
Helder Eijs
b43c4dca2f Correction to ECC docs 2018-02-16 13:44:00 +01:00
Helder Eijs
122cd3dcb3 Add ability to import ECC keys in compressed form 2018-02-15 14:33:19 +01:00
Helder Eijs
bd01417ab3 Importing an ECC key on an unsupported curve gives a more meaningful error 2018-01-28 22:17:57 +01:00
Helder Eijs
a2f4c0c0cd Adjust ECC API docs 2017-08-15 15:22:35 +02:00
Helder Eijs
9b7192abc5 More asymmetric keys APIs 2017-08-14 23:41:07 +02:00
Legrandin
6e80fea9d5 Bump version and updates to documentation 2016-02-07 13:01:09 +01:00
Legrandin
7fab9f2e6f Update to documentation 2016-02-01 21:54:12 +01:00
Legrandin
b5329b50f1 Export ECC public keys in OpenSSH format 2016-01-31 23:04:23 +01:00
Legrandin
a125618a47 Add negative tests for EccKey.export_key 2016-01-31 23:04:23 +01:00
Legrandin
d64d84ebc0 Test that EccKey.export_key() output can be made deterministic 2016-01-31 21:42:32 +01:00
Legrandin
c67b7a1752 Export ECC private keys 2016-01-31 15:04:39 +01:00
Legrandin
9356a82f63 Add documentention to ECC.import_key 2016-01-27 08:00:28 +01:00
Legrandin
52f604e111 Import of PEM/OpenSSH ECC keys 2016-01-26 22:12:31 +01:00
Legrandin
130fba46b5 Support for importing ECC keys in X.509 certs 2016-01-26 21:02:55 +01:00
Legrandin
ca4b9ec301 First ECC key being imported 2016-01-26 04:47:29 -05:00
Legrandin
64335afc8e Add __repr__ to ECC keys 2016-01-26 04:47:29 -05:00
Legrandin
a9e402e8eb Add equality operator for ECC keys 2016-01-26 04:47:29 -05:00
Legrandin
d627e0b1db Replace wNAF with Montgomery ladder 2016-01-16 22:59:08 +01:00
Legrandin
195cb4a844 Add scalar randomization and make always add in wNAF 2016-01-16 22:00:21 +01:00
Legrandin
76c7dfb336 Add aliases for P-256 2016-01-13 23:04:02 +01:00
Legrandin
4bea6940a8 construct() method validates the ECC point for correctness 2016-01-13 23:04:02 +01:00
Legrandin
2c1facbdd1 Add test vectors for Deterministic ECDSA 2016-01-12 23:18:14 +01:00
Legrandin
4767480fd9 Reorder test (WIP) 2016-01-11 23:12:20 +01:00
Legrandin
c0176c8d32 Add in-place invert operation 2016-01-11 22:55:39 +01:00
Legrandin
b59face046 Make EccPoint.double() and .add() in-place operations 2016-01-11 22:35:43 +01:00
Legrandin
3cdd91515a In-place addition operator for ECC 2016-01-11 08:08:08 +01:00
Legrandin
0e0a968e40 Addition and scalar multiplication operators for ECC 2016-01-11 07:53:47 +01:00
Legrandin
b0b625897a Fix performance test for ECC 2016-01-10 13:53:51 +01:00
Legrandin
1f8027d632 Add FIPS test vectors for ECDSA P-256 2016-01-09 23:08:10 +01:00
Legrandin
a7492d281d Add PublicKey.ECC.generate method 2016-01-09 22:18:11 +01:00
Legrandin
d439b7a536 Loopback test for FIPS ECDSA 2016-01-09 14:48:37 +01:00
Legrandin
3d6cf66262 Add public_key() method to EccKey 2016-01-09 14:24:32 +01:00
Legrandin
5e1c32eb6f Extend ECC code (WIP) 2016-01-08 23:44:21 +01:00