Ian Goldberg
|
1921172a30
Change "neg" to "negate" on the pedersen.rs structs
|
2 months ago |
Ian Goldberg
|
4cf84287f5
If there was already a Pedersen commitment the disjunction invariant enforcer is reusing, use the generators in that commitment
|
2 months ago |
Ian Goldberg
|
3afe7905b0
Use the new ComposedRelation::into_nizk API
|
2 months ago |
Ian Goldberg
|
0e223e7e2d
Fix cargo doc
|
2 months ago |
Michele Orrù
|
6d13649911
fix: update refactor
|
2 months ago |
Ian Goldberg
|
d53e48aec4
The sigma-rs API changed ShakeCodec to Shake128DuplexSponge
|
2 months ago |
Ian Goldberg
|
839d55ae69
A test for public statements
|
2 months ago |
Ian Goldberg
|
5206220822
Allow statements like C = a*B where a is a _public_ Scalar
|
2 months ago |
Ian Goldberg
|
df27e5d5a2
The sigma-rs API changed NISigmaProtocol to Nizk
|
2 months ago |
Ian Goldberg
|
e962e20a27
cargo fmt
|
2 months ago |
Ian Goldberg
|
1697b5a234
Explicitly reject substitutions with invalid arithmetic expressions
|
2 months ago |
Ian Goldberg
|
aa81399d1a
Update tests to match new subtraction code
|
2 months ago |
Ian Goldberg
|
6d732299ca
Always implement subtraction as adding a negation when generating an Expr
|
2 months ago |
Ian Goldberg
|
75f59c2be5
Remove unused "use" in subtract test
|
2 months ago |
Ian Goldberg
|
a9175aa83e
Allow calling neg() in the sigma-rs generated code
|
2 months ago |
Ian Goldberg
|
daa01f805a
Add a test for subtracting a constant from a Scalar
|
2 months ago |
Ian Goldberg
|
b62dfc2a67
Add a simple test for OR proofs
|
2 months ago |
Ian Goldberg
|
0cba256b25
Fix name of one test
|
2 months ago |
Ian Goldberg
|
6cda94defa
First cut at enforce_disjunction_invariant
|
2 months ago |
Ian Goldberg
|
fd27fc0757
Correct a comment in rangeproof.rs
|
3 months ago |
Ian Goldberg
|
c2c275dfb1
Small refactor of collect_cind_points
|
3 months ago |
Ian Goldberg
|
646f409856
Have for_each_disjunction_branch pass the path to each disjunction branch to the closure
|
3 months ago |
Ian Goldberg
|
f9e96f3456
Update a doc comment for pub mod sigma
|
3 months ago |
Ian Goldberg
|
bf90a33cbf
Don't bother to start a disjunction branch at a disjunction node
|
3 months ago |
Ian Goldberg
|
081b1c8369
StatementTree::for_each_disjunction_branch_leaf method
|
3 months ago |
Ian Goldberg
|
9985078308
StatementTree::for_each_disjunction_branch method
|
3 months ago |
Ian Goldberg
|
b71a381bc5
Define a _disjunction branch_ in the rustdoc
|
3 months ago |
Ian Goldberg
|
7cd67a94a6
Move convert_commitment and convert_randomness from the rangeproof to the pedersen module
|
3 months ago |
Ian Goldberg
|
7d1cf334ed
Implement not-equals statements
|
3 months ago |
Ian Goldberg
|
7b8bb375f0
Add a note to the documentation about how vector variables are represented in the `Instance` and `Witness` structs
|
3 months ago |