Commit Graph

22 Commits

Author SHA1 Message Date
Sean Bowe
2bfce59d8e
Offer read_be and write_be utilities to simplify code, and for testing. 2017-07-18 08:58:58 -06:00
Sean Bowe
d67109d5d3
EncodedPoint should be Copy/Clone. 2017-07-18 08:58:58 -06:00
Sean Bowe
7b1cd7f211
Improve documentation for errors a bit. 2017-07-18 08:58:58 -06:00
Sean Bowe
1d4710a39e
Consistently use Debug and Display. 2017-07-18 08:58:58 -06:00
Sean Bowe
1027dda432
Carry the interpreted value of the encoding through the error. 2017-07-18 08:58:58 -06:00
Sean Bowe
09531d0810
Add error logic to decoding methods. 2017-07-18 08:58:58 -06:00
bmerge
7c35f2b8b0 Auto merge of #16 - ebfull:clippy-impl, r=ebfull
Enable clippy linting

Closes #5
2017-07-17 03:51:15 +00:00
Sean Bowe
451b2c30ad
Enable clippy linting. 2017-07-16 21:50:03 -06:00
bmerge
6df2c003c7 Auto merge of #15 - ebfull:serialization-impl, r=ebfull
Implements and documents serialization

Closes #11.
2017-07-17 03:28:05 +00:00
Sean Bowe
c618240c91
Implements and documents serialization, closes #11. 2017-07-16 20:52:00 -06:00
Sean Bowe
e72660056e
Ordering cleanup for Fq/Fq2, with documentation. Closes #9. 2017-07-15 15:32:37 -06:00
Sean Bowe
2090e76794
Mark wnaf module unstable via feature unstable-wnaf. Closes #13. 2017-07-14 11:56:55 -06:00
Sean Bowe
806d34b39a
Rename unitary_inverse to conjugate. Closes #12. 2017-07-14 11:45:07 -06:00
Sean Bowe
d438f16628
Use divn when rightshifting during rand(). 2017-07-14 11:41:40 -06:00
Sean Bowe
bafb273a6c
Simplify doubling code during squaring routine. 2017-07-11 23:49:33 -06:00
Sean Bowe
647f83b53b
Rename many .to_* methods to .into_*. 2017-07-11 23:37:29 -06:00
Sean Bowe
ae69eb01b3
Small adjustments to satisfy clippy. 2017-07-11 17:10:32 -06:00
Sean Bowe
3faf8c526a
Encoding of G1/G2 elements in compressed or uncompressed form. 2017-07-11 15:01:31 -06:00
Sean Bowe
021077b56b
Added wNAF scalar multiplication. 2017-07-10 00:39:38 -06:00
Sean Bowe
b965c58ac1
For performance, don't double/square until we've seen a bit. 2017-07-09 21:11:29 -06:00
Sean Bowe
f2b1b0632d
Correct README description of E'. 2017-07-08 23:26:38 -06:00
Sean Bowe
a06216f24b
Initial commit 2017-07-08 10:55:43 -06:00