Sean Bowe
|
9af0c7dd30
|
PrimeFieldRepr::divn() should accept u32.
|
2017-07-29 22:50:48 -06:00 |
|
Sean Bowe
|
1a481bc741
|
PrimeField::s() should return u32.
|
2017-07-29 22:47:06 -06:00 |
|
Sean Bowe
|
176c77d602
|
Random encoding/decoding tests for PrimeFieldRepr . Closes #3.
|
2017-07-18 11:18:42 -06:00 |
|
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
|
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 |
|
Sean Bowe
|
e72660056e
|
Ordering cleanup for Fq/Fq2, with documentation. Closes #9.
|
2017-07-15 15:32:37 -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
|
ae69eb01b3
|
Small adjustments to satisfy clippy.
|
2017-07-11 17:10:32 -06:00 |
|
Sean Bowe
|
a06216f24b
|
Initial commit
|
2017-07-08 10:55:43 -06:00 |
|