Daira Hopwood
|
adc3c9c2ea
|
Fix incorrect variable name in a comment.
Co-authored-by: str4d <thestr4d@gmail.com>
|
2021-01-17 01:52:49 +00:00 |
|
Daira Hopwood
|
c5e48fdd06
|
Address @ebfull's review comments.
Co-authored-by: Sean Bowe <sean@electriccoin.co>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-01-14 02:34:43 +00:00 |
|
Daira Hopwood
|
af9834d68c
|
Implement sqrt_alt, a more efficient way of doing sqrt_ratio(num, one()).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-01-14 02:34:43 +00:00 |
|
Daira Hopwood
|
806748fbc4
|
Use addition chains for powering by (T-1)/2.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-01-14 02:34:43 +00:00 |
|
Daira Hopwood
|
227025b7b3
|
Avoid exposing implementation details of the square root implementation.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-01-14 02:34:43 +00:00 |
|
Daira Hopwood
|
e13ee2c8ff
|
Add sqrt_ratio implementation.
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-01-14 02:34:43 +00:00 |
|
Sean Bowe
|
f308eb969c
|
Remove deterministic square root calculation as it's no longer needed.
|
2021-01-12 07:40:26 -07:00 |
|
Sean Bowe
|
dff5a3a692
|
Generate the URS using a homebrew mixture of blake2b and try-and-increment.
|
2021-01-06 10:45:11 -07:00 |
|
Jack Grigg
|
cdbc41148a
|
Migrate to ff traits
The `Field` trait in this crate is now `FieldExt: ff::PrimeField`.
|
2020-12-01 20:55:03 +00:00 |
|
Jack Grigg
|
3407d13e4b
|
Move curves and fields into tweedle module
|
2020-11-12 21:36:59 +00:00 |
|
Jack Grigg
|
f4c15760f2
|
Use explicit trait paths in arithmetic macros
|
2020-11-12 19:38:27 +00:00 |
|
ying tong
|
6f6378b2ea
|
More idiomatic implementation of Ord for Field
Co-authored-by: str4d <jack@z.cash>
|
2020-10-14 00:35:36 +08:00 |
|
therealyingtong
|
1e21c08acd
|
Implement Ord and PartialOrd for Field
|
2020-10-14 00:35:25 +08:00 |
|
ebfull
|
7250ac8252
|
Merge pull request #4 from zcash/permutation
Permutation
|
2020-09-07 12:24:31 -06:00 |
|
Dimitris Apostolou
|
c0444f8c31
|
Fix typos
|
2020-09-01 20:45:20 +03:00 |
|
Sean Bowe
|
c427795bf5
|
Reverse endianness of delta constants
|
2020-08-31 10:10:05 -06:00 |
|
therealyingtong
|
4f8570db95
|
Add DELTA generator of t-order multiplicative subgroup to Fp, Fq
|
2020-08-29 13:51:42 +08:00 |
|
Sean Bowe
|
dd1ad9f114
|
Initial commit
|
2020-08-22 14:15:39 -06:00 |
|