therealyingtong
|
e259bb3846
|
ecc::chip.rs: Use concrete pallas::Affine for Chip impl.
The EccInstructions trait is still generic over C: CurveAffine;
however, the EccChip implementation is specific to the pasta
curves.
|
2021-06-12 20:25:09 +08:00 |
ying tong
|
e1779dab70
|
Docfixes and minor refactors.
Co-authored-by: str4d <jack@electriccoin.co>
|
2021-06-12 12:41:27 +08:00 |
therealyingtong
|
6dabb16edc
|
chip::add.rs: Use batch inversion for alpha, beta, gamma, delta
|
2021-06-12 12:41:27 +08:00 |
therealyingtong
|
f655e38e3e
|
chip::add_incomplete.rs: Remove superfluous check.
Co-authored-by: Jack Grigg <jack@electriccoin.co>
|
2021-06-12 12:41:27 +08:00 |
therealyingtong
|
433791fcb0
|
chip::witness_point.rs: Allow witnessing the identity.
|
2021-06-12 12:41:27 +08:00 |
therealyingtong
|
6491ea90dd
|
ecc::chip.rs: Bound EccConfig on <C: CurveAffine>.
|
2021-06-12 12:41:27 +08:00 |
therealyingtong
|
e802e2917a
|
chip::add.rs: Implement complete addition instruction.
|
2021-06-12 12:41:27 +08:00 |
therealyingtong
|
7dc11b95d2
|
chip::add_incomplete.rs: Implement add_incomplete() instruction
|
2021-06-12 12:41:27 +08:00 |
therealyingtong
|
7eb86eb0c2
|
chip::witness_point.rs: Implement witness_point() instruction.
|
2021-06-12 12:41:27 +08:00 |