89 Commits (ce875c902b72ba03ad81409f33d432d3c86793bb)
 

Author SHA1 Message Date
Sean Bowe 40ec989184
Add (not particularly efficient) from_str to PrimeField. 7 years ago
Sean Bowe dcca363d1b
Add muln() to PrimeFieldRepr along with tests for muln/divn. 7 years ago
Sean Bowe 9af0c7dd30
PrimeFieldRepr::divn() should accept u32. 7 years ago
Sean Bowe 1a481bc741
PrimeField::s() should return u32. 7 years ago
bmerge aa5d634c04 Auto merge of #21 - ebfull:bump-again, r=ebfull 7 years ago
Sean Bowe 7960f69ba9
Use newer version of clippy. 7 years ago
Sean Bowe f111008d66
Version bump to 0.10.1. 7 years ago
bmerge c643f0b1fa Auto merge of #20 - ebfull:pairing_with, r=ebfull 7 years ago
Sean Bowe 41834bc4b2
Add pairing_with API. 7 years ago
bmerge f51a383ef1 Auto merge of #19 - ebfull:ohtenrelease, r=ebfull 7 years ago
Sean Bowe 59765c5830
Version bump. 7 years ago
bmerge 8fc026bb61 Auto merge of #18 - ebfull:primefieldreprtests, r=ebfull 7 years ago
Sean Bowe 176c77d602
Random encoding/decoding tests for `PrimeFieldRepr`. Closes #3. 7 years ago
bmerge a6528a7876 Auto merge of #17 - ebfull:various-improvements, r=ebfull 7 years ago
Sean Bowe 9e5f70f126
(clippy) More idomatic reference matching. 7 years ago
Sean Bowe 19efad5ba6
Small fixups to reduce diff. 7 years ago
Sean Bowe 0e877810f7
Add tests for rejected encoded G1/G2 points. 7 years ago
Sean Bowe 2bfce59d8e
Offer `read_be` and `write_be` utilities to simplify code, and for testing. 7 years ago
Sean Bowe d67109d5d3
EncodedPoint should be Copy/Clone. 7 years ago
Sean Bowe 7b1cd7f211
Improve documentation for errors a bit. 7 years ago
Sean Bowe 1d4710a39e
Consistently use `Debug` and `Display`. 7 years ago
Sean Bowe 1027dda432
Carry the interpreted value of the encoding through the error. 7 years ago
Sean Bowe 09531d0810
Add error logic to decoding methods. 7 years ago
bmerge 7c35f2b8b0 Auto merge of #16 - ebfull:clippy-impl, r=ebfull 7 years ago
Sean Bowe 451b2c30ad
Enable clippy linting. 7 years ago
bmerge 6df2c003c7 Auto merge of #15 - ebfull:serialization-impl, r=ebfull 7 years ago
Sean Bowe c618240c91
Implements and documents serialization, closes #11. 7 years ago
Sean Bowe e72660056e
Ordering cleanup for Fq/Fq2, with documentation. Closes #9. 7 years ago
Sean Bowe 2090e76794
Mark `wnaf` module unstable via feature `unstable-wnaf`. Closes #13. 7 years ago
Sean Bowe 806d34b39a
Rename `unitary_inverse` to `conjugate`. Closes #12. 7 years ago
Sean Bowe d438f16628
Use `divn` when rightshifting during rand(). 7 years ago
Sean Bowe bafb273a6c
Simplify doubling code during squaring routine. 7 years ago
Sean Bowe 647f83b53b
Rename many .to_* methods to .into_*. 7 years ago
Sean Bowe ae69eb01b3
Small adjustments to satisfy clippy. 7 years ago
Sean Bowe 3faf8c526a
Encoding of G1/G2 elements in compressed or uncompressed form. 7 years ago
Sean Bowe 021077b56b
Added wNAF scalar multiplication. 7 years ago
Sean Bowe b965c58ac1
For performance, don't double/square until we've seen a bit. 7 years ago
Sean Bowe f2b1b0632d
Correct README description of E'. 7 years ago
Sean Bowe a06216f24b
Initial commit 7 years ago