Document r1cs-std

This commit is contained in:
Pratyush Mishra
2020-09-10 01:16:01 -07:00
parent c21d0b2796
commit 370fbcdd3b
61 changed files with 691 additions and 211 deletions

View File

@@ -3,6 +3,7 @@ use algebra::ed_on_bn254::*;
use crate::ed_on_bn254::FqVar;
/// A variable that is the R1CS equivalent of `algebra::ed_on_bn254::EdwardsAffine`.
pub type EdwardsVar = AffineVar<EdwardsParameters, FqVar>;
#[test]

View File

@@ -1,5 +1,6 @@
use crate::fields::fp::FpVar;
/// A variable that is the R1CS equivalent of `algebra::ed_on_bn254::Fq`.
pub type FqVar = FpVar<algebra::ed_on_bn254::Fq>;
#[test]