Historial de Commits

Autor SHA1 Mensaje Fecha
  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 hace 11 meses
  Ian Goldberg 26db0ee8a2 Allow the left side of linear combination statements to be expressions evaluating to a public Point hace 11 meses
  Ian Goldberg 0a650e4647 cargo fmt hace 11 meses
  Ian Goldberg 0c7e495a76 Only emit code to check consistency of substitutions if we're in the root disjunction branch hace 11 meses
  Ian Goldberg 9e77a03656 Match new sigma-rs API for ComposedWitness::Or hace 11 meses
  Ian Goldberg 1921172a30 Change "neg" to "negate" on the pedersen.rs structs hace 11 meses
  Ian Goldberg 4cf84287f5 If there was already a Pedersen commitment the disjunction invariant enforcer is reusing, use the generators in that commitment hace 11 meses
  Ian Goldberg 3afe7905b0 Use the new ComposedRelation::into_nizk API hace 11 meses
  Ian Goldberg 0e223e7e2d Fix cargo doc hace 11 meses
  Michele Orrù 6d13649911 fix: update refactor hace 11 meses
  Ian Goldberg d53e48aec4 The sigma-rs API changed ShakeCodec to Shake128DuplexSponge hace 11 meses
  Ian Goldberg 839d55ae69 A test for public statements hace 11 meses
  Ian Goldberg 5206220822 Allow statements like C = a*B where a is a _public_ Scalar hace 11 meses
  Ian Goldberg df27e5d5a2 The sigma-rs API changed NISigmaProtocol to Nizk hace 11 meses
  Ian Goldberg e962e20a27 cargo fmt hace 11 meses
  Ian Goldberg 1697b5a234 Explicitly reject substitutions with invalid arithmetic expressions hace 11 meses
  Ian Goldberg aa81399d1a Update tests to match new subtraction code hace 11 meses
  Ian Goldberg 6d732299ca Always implement subtraction as adding a negation when generating an Expr hace 11 meses
  Ian Goldberg 75f59c2be5 Remove unused "use" in subtract test hace 11 meses
  Ian Goldberg a9175aa83e Allow calling neg() in the sigma-rs generated code hace 11 meses
  Ian Goldberg daa01f805a Add a test for subtracting a constant from a Scalar hace 11 meses
  Ian Goldberg b62dfc2a67 Add a simple test for OR proofs hace 11 meses
  Ian Goldberg 0cba256b25 Fix name of one test hace 11 meses
  Ian Goldberg 6cda94defa First cut at enforce_disjunction_invariant hace 11 meses
  Ian Goldberg fd27fc0757 Correct a comment in rangeproof.rs hace 11 meses
  Ian Goldberg c2c275dfb1 Small refactor of collect_cind_points hace 11 meses
  Ian Goldberg 646f409856 Have for_each_disjunction_branch pass the path to each disjunction branch to the closure hace 11 meses
  Ian Goldberg f9e96f3456 Update a doc comment for pub mod sigma hace 11 meses
  Ian Goldberg bf90a33cbf Don't bother to start a disjunction branch at a disjunction node hace 11 meses
  Ian Goldberg 081b1c8369 StatementTree::for_each_disjunction_branch_leaf method hace 11 meses