bmerge
ef7ade8c2c
Auto merge of #78 - ebfull:release-0.14, r=ebfull
...
Release of pairing 0.14.0.
This release makes some changes in response to an audit of this library, as well as some obversations about the API that I made. Some names were changed (`divn` -> `shr`, `muln` -> `shl`) and `add_nocarry`/`sub_noborrow` no longer return anything (as their names would suggest.) Some potentially misleading comments are fixed as well.
The release also applies `rustfmt` and new lints from `clippy` to the codebase, enforced by the CI on a more recent version of the Nightly compiler.
Thanks go to @jasondavies for his contributions to this release.
7 years ago
Sean Bowe
92d2c13285
Release of pairing 0.14.0.
7 years ago
Sean Bowe
c9cacc7467
Bump version and integrate pairing 0.14.
7 years ago
bmerge
6fea7e382d
Auto merge of #77 - ebfull:rustfmt-application-2, r=ebfull
...
Apply rustfmt
Supersedes #76
I've made a change to the CI which checks `rustfmt` against the code. Let's see if it worked.
7 years ago
Sean Bowe
f5370057bd
Test deserialization of proofs in MiMC test example.
7 years ago
Sean Bowe
5f8747a0f4
Move MiMC example to tests.
7 years ago
Sean Bowe
86f652fa9f
Some minor documentation/changes to domain.
7 years ago
Sean Bowe
f7815f6e49
Remove unused tests and fix documentation.
7 years ago
Sean Bowe
ab1487025f
Serialization of parameters and proofs.
7 years ago
Sean Bowe
57687cf70f
Creation of the Note primitive.
7 years ago
ebfull
4f4a2d63db
Merge pull request #34 from ebfull/output-circuit
...
WIP circuit development
7 years ago
Sean Bowe
27674bf8ff
Derive Clone for EdwardsPoint.
7 years ago
Sean Bowe
3346fba915
Implementation of Jubjub point representation.
7 years ago
Sean Bowe
4441a0da41
Hash the constraint systems to check integrity.
7 years ago
Sean Bowe
23d17b9042
Minor adjustments.
7 years ago
Sean Bowe
7a7774d8af
Remove unused imports in Boolean.
7 years ago
Sean Bowe
8c37212645
Remove kary_and from Boolean.
7 years ago
Sean Bowe
a45986ff97
Remove enforce_nand.
7 years ago
Sean Bowe
0d56c7a902
Remove enforce_in_field.
7 years ago
Sean Bowe
69abd0391f
Optimize into_bits_strict.
7 years ago
Sean Bowe
97585a30ad
Remove from_bits_strict from AllocatedNum.
7 years ago
Sean Bowe
c812805b31
Slight refactor of representations
7 years ago
Sean Bowe
ba7298de3f
Crappy mock-up of the circuit.
7 years ago
Sean Bowe
4b6623cf44
Add some personalization and a generator.
7 years ago
Sean Bowe
53083f4290
Apply rustfmt to the codebase.
7 years ago
bmerge
d51a5b0122
Auto merge of #73 - plutomonkey:update-rand-dependency, r=ebfull
...
Update "rand" dependency to 0.4.
7 years ago
bmerge
da717f4472
Auto merge of #75 - ebfull:primerepr-fixes, r=ebfull
...
PrimeRepr improvements
These are API-breaking changes that make `PrimeRepr` a little nicer.
7 years ago
ebfull
1a89b3a486
Merge pull request #33 from ebfull/general-improvements
...
General improvements
7 years ago
Sean Bowe
e8480a2b2c
Utility for witnessing points on the curve.
7 years ago
Sean Bowe
c221bc9126
Rename `mont` to `ecc` in circuit code.
7 years ago
Sean Bowe
a1c749e6a0
Change fixed-base exponentiation API to handle scalars better.
7 years ago
Sean Bowe
88bdff6ce9
Pedersen hashes with full optimization
7 years ago
Sean Bowe
4fa73efc1e
Remove conditional negation implementation from AllocatedNum.
7 years ago
Sean Bowe
c89d47bb07
Remove Montgomery point doubling implementation in the circuit.
7 years ago
Sean Bowe
1610bcfbcf
Perform the y-coordinate conditional negation and lookup simultaneously.
7 years ago
Sean Bowe
6f66fd3f9d
Express x and y coordinates from lookup as linear combinations.
7 years ago
Sean Bowe
b37d9b11cb
More efficient implementation of Edwards doubling in the circuit.
7 years ago
Sean Bowe
6e80c12365
Add TODO
7 years ago
Sean Bowe
d779f31ccd
Force personalization of Pedersen hashes.
7 years ago
Sean Bowe
39175a0c2a
Remove unneeded imports
7 years ago
Sean Bowe
5118fd5008
Add new fixed generators for the output circuit
7 years ago
Sean Bowe
ec7323159c
Booleanize u64 objects.
7 years ago
Sean Bowe
1df7fbeeff
Refactor "booleanization" of objects.
7 years ago
ebfull
8d633db82b
Merge pull request #29 from ebfull/pedersen-chunks
...
63 chunks per pedersen hash segment
7 years ago
ebfull
c091e274ee
Merge pull request #32 from ebfull/bellman-update
...
Bellman update
7 years ago
Sean Bowe
2f95a9094a
Refactor to handle changes to ConstraintSystem API (no more Variable associated type, one is now static method).
7 years ago
Sean Bowe
814cfef769
Use more descriptive synthesis errors now available in bellman.
7 years ago
Sean Bowe
683aa93b44
Account for change in bellman's API for enforcement to use closures.
7 years ago
Sean Bowe
749d6ceed4
Bump version
7 years ago
Sean Bowe
cb53708767
New implementation of library API.
7 years ago