Commit History

Author SHA1 Message Date
  Ian Goldberg 676304ef47 Add a recognizer for LinScalar expressions 9 months ago
  Ian Goldberg 90da138200 prove() will require an RNG that is an impl CryptoRng + RngCore 9 months ago
  Ian Goldberg 76c318c74f Return VerificationFailure rather than assert!()ing if the witness doesn't satisfy the statements 9 months ago
  Ian Goldberg 28e485e5ed Add a test using public Scalars 9 months ago
  Ian Goldberg 22253acc49 Touch up instructions in a comment 9 months ago
  Ian Goldberg cd47fcf33c Be able to send extra generated public values along with the proof 9 months ago
  Ian Goldberg d3e99bbb43 Make sigma_compiler's codegen able to generate collision-free variable names 9 months ago
  Ian Goldberg 73b29275b1 Have prove() and verify() return Err(sigma_rs::errors::Error) on failure instead of Err(()) 9 months ago
  Ian Goldberg 31e596b0c3 Code generation stubs for sigma_rs 9 months ago
  Ian Goldberg 7e4b865b1f Refactor StructFieldList from codegen to sigma/codegen 9 months ago
  Ian Goldberg edf24392d8 Handle const * Term and const * Pedersen in the Pedersen recognizer 9 months ago
  Ian Goldberg 68dc9d8f4b One more test 9 months ago
  Ian Goldberg eefffbe1c7 Pedersen commitment expression recognizer complete 9 months ago
  Ian Goldberg 8342b14159 A little more on the Pedersen commitment expression recognizer 9 months ago
  Ian Goldberg 26b617e6b3 A little more on the Pedersen commitment expression recognizer 9 months ago
  Ian Goldberg 42487e38ff Start on the Pedersen commitment expression recognizer 9 months ago
  Ian Goldberg f0a54a8538 Abstract arithmetic expression parsing into an AExprFold trait 9 months ago
  Ian Goldberg 998d014072 Find all random private `Scalar`s (according to the [`TaggedVarDict`]) that appear exactly once in the [`StatementTree`]. 9 months ago
  Ian Goldberg 1fc9daf16b Flatten nested `And` nodes in a [`StatementTree`] 9 months ago
  Ian Goldberg e6be0ce636 Slightly clean up the main crate's exports 9 months ago
  Ian Goldberg 008aa918be Don't require the end user's code to manually depend on the group or ff crates 10 months ago
  Ian Goldberg 673157e12c Convert arithmetic expressions of integer constants and (Scalar or Point) vars into a valid Rust expression 10 months ago
  Ian Goldberg e7f804289e Code generation for substitution statements 10 months ago
  Ian Goldberg 6f857f9dfd Refactor codegen into its own module 10 months ago
  Ian Goldberg f501f2c7f3 Allow << on constant expressions in statements 10 months ago
  Ian Goldberg fa3d992bcc Use the input TaggedVarDict, not the one modified by apply_substitutions, to generate the Params and Witness structures 10 months ago
  Ian Goldberg 3602aa75be Apply the substitutions in the main sigma_compiler_core function 10 months ago
  Ian Goldberg 2a45909392 Look for, and apply, all of the substitutions specified in leaves of a StatementTree 10 months ago
  Ian Goldberg 3715b9f359 Make sigma::combiners::PrivScalarMap visible to other modules 10 months ago
  Ian Goldberg eae6dbfe7b Derive PartialEq, Eq for TaggedScalar, TaggedPoint, TaggedIdent 10 months ago