Skip to content

Releases: HorizenOfficial/ginger-lib

0.6.1

24 Oct 14:19
0.6.1
35cd278
Compare
Choose a tag to compare

Replace prints with logs for logging frontends supports at higher levels

0.6.0

28 Jun 13:21
46a3ce6
Compare
Choose a tag to compare
  • Removed hardcoded rust version
  • Fix the assembler optimization (previous version works just on nightly)
  • Remove the fixed dependencies version
  • Fix the linear combination representation: previous version can have more than one element in the sparse matrix for the same cell: that can leads to different pk/vk across rust versions. In order to check the vk generate with an old version you should use the gingerlib version 0.5.0. The Olds pk/vk will continue to works with this version.

0.5.0

28 Jun 13:20
d022760
Compare
Choose a tag to compare

Import marlin and poly-commit repositories inside ginger-lib
Fixes from Audit

0.4.0

14 Feb 09:48
0.4.0
deaabb1
Compare
Choose a tag to compare

Imported new curves:

  • #139 - Import ed25519 curve
  • #122 - Import secp256k1 curve

Support for nonnative arithmetic in circuits:

  • #120 - Imported NonNativeFieldGadget from https://github.com/arkworks-rs/nonnative and built a NonNativeGroupAffineGadget on top of that;
  • #143 - Review and partial refactoring of the nonnative module;
  • #164 - Optimization of nonnative field gadget arithmetic for pseudo-mersenne prime fields

Circuit optimizations:

  • #140 - Poseidon Hash Gadget implementation for Tweedle Fr minimizing densities
  • #128 - Endomorphism-based scalar multiplication primitive and gadget
  • Imported and generalized Hopwood's vbSM (#126) and fbSM (#129) from zcash/zcash#3924

New additions:

0.3.1

16 Nov 17:36
0.3.1
885e154
Compare
Choose a tag to compare

Preparation for proof composition with Darlin:

  • Introduced Tweedle curves;
  • Base traits and structs necessary for proof carrying data;
  • Coboundary Marlin prover/verifier as a wrapper for calls to our Marlin repository;
  • Traits and verifiers for GeneralPCD, which embraces the two types of proofs that are served to the “outside” (Coboundary Marlin and Final Darlin proofs).
    This includes a batch verifier.
  • Post-processor for batches of GeneralPCDs, aggregating their dlog hard parts into a single one.

Other relevant changes:

  • Imported CanonicalSerialize/CanonicalDeserialize traits from upstream;
  • Refactored Poseidon hash primitive and gadget to be more modular.
  • Added Merkle tree and paths traits for primitive and gadgets, and an efficient in-memory append-only implementation.

0.2.0

22 Oct 15:51
0.2.0
9abb2e5
Compare
Choose a tag to compare

MNT-753 curves + schnorr, vrf, poseidon primitive/gadget