Ian Goldberg
|
fb69ebf940
Document AND and OR in the macro rustdoc
|
2 months ago |
Ian Goldberg
|
7be6ffc378
clippy on the tests
|
2 months ago |
Ian Goldberg
|
7c81911952
Add support for vector sums and dot products
|
2 months ago |
Ian Goldberg
|
b5bd445d63
More vector tests
|
2 months ago |
Ian Goldberg
|
0f2fdca04c
More support for vector variables
|
2 months ago |
Ian Goldberg
|
f9832a0cb8
Refactor some code to generate TokenStreams of arithmetic possibly involving vectors
|
2 months ago |
Ian Goldberg
|
1de1cc05c4
Improving support for vector variables
|
2 months ago |
Ian Goldberg
|
ac2972bd57
basic vector operations test
|
2 months ago |
Ian Goldberg
|
70172afea4
A few more tests
|
2 months ago |
Ian Goldberg
|
b61068d3c6
Fix copy and paste error
|
2 months ago |
Ian Goldberg
|
a8f0aafb21
Simplify the pubscalars_or test
|
2 months ago |
Ian Goldberg
|
03863987ce
Update to match new ComposedWitness::Or API
|
2 months ago |
Ian Goldberg
|
71e26c7813
typo in docs
|
2 months ago |
Ian Goldberg
|
9e406c5a26
format
|
2 months ago |
Ian Goldberg
|
c4c86e28d1
In a disjunction branch, convert statements about equality of public Scalars to statements about equality of public Points by multiplying each side by a generator
|
2 months ago |
Ian Goldberg
|
26db0ee8a2
Allow the left side of linear combination statements to be expressions evaluating to a public Point
|
2 months ago |
Ian Goldberg
|
0a650e4647
cargo fmt
|
2 months ago |
Ian Goldberg
|
0c7e495a76
Only emit code to check consistency of substitutions if we're in the root disjunction branch
|
2 months ago |
Ian Goldberg
|
9e77a03656
Match new sigma-rs API for ComposedWitness::Or
|
2 months ago |
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 |