Commit History

Author SHA1 Message Date
  Ian Goldberg 3944f2cf30 Touch up some documentation for the cmz_core crate 2 months ago
  Ian Goldberg b592bd3a9e Don't automatically output the generated sigma_compiler! macro at compile time 2 months ago
  Ian Goldberg 9827822c23 Add a cmz_core binary that expands the CMZProtocol macro 2 months ago
  Ian Goldberg e4ea8ff2d1 Clean up crate exports and docs 2 months ago
  Ian Goldberg e850753df0 Refactor to use runtime/derive/core crate pattern 2 months ago
  Ian Goldberg e613d0c36b The muCMZ client proof always uses B_generator 3 months ago
  Ian Goldberg 99a7ed2239 Have handle() store the P value of the MAC it's creating in the credentials it returns 3 months ago
  Ian Goldberg 32697bba53 Support CMZ protocols with public Points as parameters, not just public Scalars 3 months ago
  Ian Goldberg 17d3918a37 Change nomenclature of "params" to "instance" for the underlying sigma protocol 4 months ago
  Ian Goldberg a90bde0b2c cargo fmt 4 months ago
  Ian Goldberg 5033b41669 Use sigma_compiler_prover or sigma_compiler_verifier as appropriate 4 months ago
  Ian Goldberg aedf3fbda9 Enable the range statements in the wallet test 4 months ago
  Ian Goldberg 2cc1771ea8 prepare() and handle() now take a session id as an additional argument 4 months ago
  Ian Goldberg e7b44882fc Ensure the rng implements CryptoRng + RngCore 4 months ago
  Ian Goldberg 324e24d42a Add create_MAC and compute_MAC_coeff functions to CMZCred 5 months ago
  Ian Goldberg 42ccd5f0dc curve25519-dalek is only needed for tests; move it to dev-depencencies 6 months ago
  Ian Goldberg 33d34a16f7 clippy 6 months ago
  Ian Goldberg 032b63af60 Use new sigma_compiler! syntax 6 months ago
  Ian Goldberg 99a84ebefe Add visit-mut to syn features so that this subcrate can be built on its own 6 months ago
  Ian Goldberg 3d7fee936c Allow ZKP statements to refer to revealed and implicit attributes of shown credentials 6 months ago
  Ian Goldberg 3b272ee3f9 Change "cmz_gen_keys" to "cmz14_gen_keys" for consistency with the rest of the API 6 months ago
  Ian Goldberg de9d1efc2b Handle (and test) credentials declared in different modules from where a protocol using them is declared 6 months ago
  Ian Goldberg 42e06646a9 Change the macro name for CMZ14 from CMZProtocol to CMZ14Protocol 6 months ago
  Ian Goldberg 5a12ecfd87 CMZ14 client ZKP 6 months ago
  Ian Goldberg 425df68506 A function for creating fake MACs on a credential 6 months ago
  Ian Goldberg a45db1a350 For shown credentials with optional validity proofs, emit the proof when explicitly asked 6 months ago
  Ian Goldberg 4af16121dc Don't emit optional validity proofs by default 6 months ago
  Ian Goldberg ef94f40afd Enable shown credentials in a protocol to only optionally have their validity proven 6 months ago
  Ian Goldberg 2b86683b15 µCMZ client ZKP 6 months ago
  Ian Goldberg 5cb948fc85 Start on the client ZKP 6 months ago