Ian Goldberg
|
daa01f805a
Add a test for subtracting a constant from a Scalar
|
3 months ago |
Ian Goldberg
|
b62dfc2a67
Add a simple test for OR proofs
|
3 months ago |
Ian Goldberg
|
0cba256b25
Fix name of one test
|
3 months ago |
Ian Goldberg
|
6cda94defa
First cut at enforce_disjunction_invariant
|
3 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
|
4 months ago |
Ian Goldberg
|
f9e96f3456
Update a doc comment for pub mod sigma
|
4 months ago |
Ian Goldberg
|
bf90a33cbf
Don't bother to start a disjunction branch at a disjunction node
|
4 months ago |
Ian Goldberg
|
081b1c8369
StatementTree::for_each_disjunction_branch_leaf method
|
4 months ago |
Ian Goldberg
|
9985078308
StatementTree::for_each_disjunction_branch method
|
4 months ago |
Ian Goldberg
|
b71a381bc5
Define a _disjunction branch_ in the rustdoc
|
4 months ago |
Ian Goldberg
|
7cd67a94a6
Move convert_commitment and convert_randomness from the rangeproof to the pedersen module
|
4 months ago |
Ian Goldberg
|
7d1cf334ed
Implement not-equals statements
|
4 months ago |
Ian Goldberg
|
7b8bb375f0
Add a note to the documentation about how vector variables are represented in the `Instance` and `Witness` structs
|
4 months ago |
Ian Goldberg
|
c961d683a0
Enforce that public Scalar equality statements only work on non-vector variables
|
4 months ago |
Ian Goldberg
|
c8ec0fc605
Finish the documentation for the sigma_compiler macro
|
4 months ago |
Ian Goldberg
|
4641a3cabc
Allow statements that are equality of a public Scalar variable to a public Scalar expression.
|
4 months ago |
Ian Goldberg
|
3adab6c783
Change the nomenclature of "params" to "instance" to match the sigma_rs crate
|
4 months ago |
Ian Goldberg
|
027760ffde
Start on the documentation of the main sigma_compiler macro
|
4 months ago |
Ian Goldberg
|
f0104198ed
Add sigma_compiler_{prover,verifier} macros to only emit one party's code
|
4 months ago |
Ian Goldberg
|
82058d6cda
Only emit the protocol_witness function if emit_prover is set
|
4 months ago |
Ian Goldberg
|
384b93e03a
Remove some commented-out test code
|
4 months ago |
Ian Goldberg
|
edc6d2b636
Make the dump feature flag work again
|
4 months ago |
Ian Goldberg
|
d21bea09f9
Flip multiplications around to suit sigma_rs
|
4 months ago |
Ian Goldberg
|
dcf9c81a49
Code generation to use the sigma-rs API
|
4 months ago |
Ian Goldberg
|
b2d950a090
The underlying sigma-rs crate supports scalar_var * scalar_const but not the other way around, so change the tests to do that
|
4 months ago |
Ian Goldberg
|
0f1e6699cb
Typo fix to range proof generated statement
|
4 months ago |
Ian Goldberg
|
f77454f70e
Simplify the proto_witness_codegen API a bit
|
4 months ago |
Ian Goldberg
|
9bf1745c9a
Move leaf_true, is_leaf_true, and leaf_true_test into StatementTree
|
4 months ago |