Michele Orrù
|
e5607bb528
|
Add "scale_by_cofactor".
Add a function for Affine types that multiplies point by the cofactor of the
group.
|
2017-10-09 10:04:22 +02:00 |
|
Michele Orrù
|
9846ad2d17
|
Some (easy) cleanups as suggested from @ebfull.
Thanks!
|
2017-08-24 20:13:07 +02:00 |
|
Michele Orrù
|
2ac2d1213d
|
Some (easy) cleanups as suggested from @daira.
Thanks!
|
2017-08-23 19:17:20 +02:00 |
|
Michele Orrù
|
a86d0b7270
|
s/Q/Quadratic/ in LegendreSymbol enum.
Proposed by @ebfull.
|
2017-08-23 19:10:34 +02:00 |
|
Michele Orrù
|
6feb0f802f
|
Merge traits SqrtField and LegendreField into SqrtField.
|
2017-08-23 19:08:00 +02:00 |
|
Michele Orrù
|
2d3f498e75
|
Polish sqrt in fr.rs: use pattern matching with Legendre enums.
|
2017-08-23 19:07:44 +02:00 |
|
Michele Orrù
|
57b4e73627
|
Create enum for LegendreSymbol, fix test.
|
2017-08-23 19:06:43 +02:00 |
|
Michele Orrù
|
1b6cf85251
|
Add Legendre symbol for Fq and Fq2.
|
2017-08-23 19:04:56 +02:00 |
|
Michele Orrù
|
ec49fcc638
|
s/is_in_correct_subgroup/is_in_correct_subgroup_assuming_on_curve/
Literelly run:
$ sed -i s/is_in_correct_subgroup/is_in_correct_subgroup_assuming_on_curve/g bls12_381/ec.rs
|
2017-08-16 12:08:52 +02:00 |
|