Historique des commits

Auteur SHA1 Message Date
  Ian Goldberg 5d0e38b711 Allow sigma::codegen to modify the StatementTree il y a 4 mois
  Ian Goldberg b5fc2df4c9 prove() and verify() now take a session id as an additional argument il y a 4 mois
  Ian Goldberg cf329f2828 Don't mark the generated r and s variables as "rand" since they have correlated values il y a 4 mois
  Ian Goldberg d8d24b7ac9 Finish range proofs il y a 4 mois
  Ian Goldberg 9a00db39b3 Add a range demo test il y a 4 mois
  Ian Goldberg 46e240d6d4 Compute all the variables needed for range proofs il y a 4 mois
  Ian Goldberg 110a9eacb1 Functions to compute a bit representation for a range proof il y a 4 mois
  Ian Goldberg 37afe1ede0 Constant-time and variable-time runtime bit decomposition for range proofs il y a 4 mois
  Ian Goldberg d9ca5c733f Convert commitments and randomness of one LinScalar to that of another LinScalar of the same variable il y a 4 mois
  Ian Goldberg 3247addd99 Make clippy happier il y a 4 mois
  Ian Goldberg ed1a2ab347 Implement and test LinScalar::to_expr() il y a 4 mois
  Ian Goldberg 90f3f371de Find or generate a Pedersen commitment to start handling range statements il y a 4 mois
  Ian Goldberg d080daa250 PedersenAssignment::var() convenience function il y a 4 mois
  Ian Goldberg af0748ec23 Prepare for handing range statements by finding all Pedersen assignment statements in the StatementTree il y a 4 mois
  Ian Goldberg 1a6011d2f7 Clarify in a comment that ranges must always have strictly more than 1 element in them il y a 4 mois
  Ian Goldberg 9b8cbf4558 Refactor the substitution transformation into its own module il y a 4 mois
  Ian Goldberg 45a262b32c Add a test for range statement recognition with public Scalar expressions for the range endpoints il y a 4 mois
  Ian Goldberg 65afb16310 Start on range statements il y a 4 mois
  Ian Goldberg 22dd8f33fd Add a recognizer for expressions that evaluate to public Scalars il y a 4 mois
  Ian Goldberg 676304ef47 Add a recognizer for LinScalar expressions il y a 4 mois
  Ian Goldberg 90da138200 prove() will require an RNG that is an impl CryptoRng + RngCore il y a 4 mois
  Ian Goldberg 76c318c74f Return VerificationFailure rather than assert!()ing if the witness doesn't satisfy the statements il y a 4 mois
  Ian Goldberg 28e485e5ed Add a test using public Scalars il y a 4 mois
  Ian Goldberg 22253acc49 Touch up instructions in a comment il y a 4 mois
  Ian Goldberg cd47fcf33c Be able to send extra generated public values along with the proof il y a 4 mois
  Ian Goldberg d3e99bbb43 Make sigma_compiler's codegen able to generate collision-free variable names il y a 4 mois
  Ian Goldberg 73b29275b1 Have prove() and verify() return Err(sigma_rs::errors::Error) on failure instead of Err(()) il y a 4 mois
  Ian Goldberg 31e596b0c3 Code generation stubs for sigma_rs il y a 4 mois
  Ian Goldberg 7e4b865b1f Refactor StructFieldList from codegen to sigma/codegen il y a 4 mois
  Ian Goldberg edf24392d8 Handle const * Term and const * Pedersen in the Pedersen recognizer il y a 5 mois