74 Commits (51c35a9bcfb52766c6fa5726f17e0ff96998f0f2)

Author SHA1 Message Date
Sean Bowe 51c35a9bcf
Adopt new versions of pairing and bellman. 7 years ago
Sean Bowe 57687cf70f
Creation of the Note primitive. 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 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
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 821d22261e
Raise the number of chunks in Pedersen hashes to 63. 7 years ago
Sean Bowe 52829af6d8
Fix test for pedersen hash chunks per generator. 7 years ago
Sean Bowe 73e73d7c8c
Remove TODOs by creating tickets. 7 years ago
Sean Bowe edc4adc32c
Implementation of fixed-base Edwards scalar multiplication in the circuit. 7 years ago
Sean Bowe 69833e5162
Start initializing generators for various components in the protocol. 7 years ago
Sean Bowe 55b8f7a575
Dynamic base twisted Edwards scalar multiplication in the circuit. 7 years ago
Sean Bowe f2c74a4b98
Implement conditional reversal of two allocated numbers. 7 years ago
Sean Bowe d49c0b0b0d
Implement Edwards doubling in the circuit. 7 years ago
Sean Bowe 67f2cea200
Move window table lookup logic into its own module. 7 years ago
Sean Bowe ba3ef9c84c
Implementation of 3-bit window table lookups. 7 years ago
Sean Bowe 9d49a60f48
Replace Montgomery point interpretation with twisted Edwards. 7 years ago
Sean Bowe f00e8a8292
Change group_hash to output points in the twisted Edwards form. 7 years ago
Sean Bowe 55598e4d4f
Define get_for_y for twisted Edwards points. 7 years ago
Sean Bowe bfda59f80b
Remove group hash implementation from inside the circuit, as it is no longer necessary. 7 years ago
Sean Bowe 42514e7c47
Remove TODO's in favor of github issues. 7 years ago
Sean Bowe 6841763ae7
Add TODO for improving lookup performance. 7 years ago
Sean Bowe 849f330441
Add test to monitor the number of constraints consumed by the pedersen hash (in the context of a merkle tree). 7 years ago