Commit Graph

23 Commits

Author SHA1 Message Date
Sean Bowe b6e1b52a44
Fix comment about Montgomery curve selection 2018-03-08 13:03:07 -07:00
Sean Bowe b6ef12b077
General code quality improvements. 2018-03-08 00:41:47 -07:00
Sean Bowe c7c8d3c039
Move personalization constants to submodule. 2018-03-08 00:06:53 -07:00
Sean Bowe ef85173df5
Fix comments in jubjub code. 2018-03-06 22:25:15 -07:00
Sean Bowe 1f2bb62657
Rename proving key to proof generation key to disambiguate from the SNARK. 2018-03-06 09:56:29 -07:00
Sean Bowe 63c6830429
Cache fewer pedersen hash generators. 2018-03-06 09:03:29 -07:00
Sean Bowe f155c01cf5
Personalize GH for each generator independently. 2018-03-06 08:30:28 -07:00
Sean Bowe b831942501
Adopt BLAKE2s personalization throughout protocol. 2018-03-05 19:32:27 -07:00
Sean Bowe b45a37febb
Add comments and reorder some generators. 2018-03-05 16:00:04 -07:00
Sean Bowe 3346fba915
Implementation of Jubjub point representation. 2018-02-24 14:11:01 -07:00
Sean Bowe 4b6623cf44
Add some personalization and a generator. 2018-02-22 07:29:55 -07:00
Sean Bowe 5118fd5008
Add new fixed generators for the output circuit 2018-02-20 15:11:29 -07:00
Sean Bowe 821d22261e
Raise the number of chunks in Pedersen hashes to 63. 2018-02-11 12:59:57 -07:00
Sean Bowe 73e73d7c8c
Remove TODOs by creating tickets. 2018-02-07 13:55:34 -07:00
Sean Bowe edc4adc32c
Implementation of fixed-base Edwards scalar multiplication in the circuit. 2018-02-07 13:33:09 -07:00
Sean Bowe 69833e5162
Start initializing generators for various components in the protocol. 2018-02-06 11:08:17 -07:00
Sean Bowe f00e8a8292
Change group_hash to output points in the twisted Edwards form. 2018-01-29 08:56:58 -07:00
Sean Bowe 42514e7c47
Remove TODO's in favor of github issues. 2018-01-29 06:06:10 -07:00
Sean Bowe e9c9618ef4
Implement pedersen hashes inside and outside of the circuit. 2017-12-28 11:06:05 -07:00
Sean Bowe 8c4433ee82
Add 2A precomputation to jubjub parameters. 2017-12-14 11:34:57 -07:00
Sean Bowe e9d3923829
Refactor jubjub implementation to be abstract over field, parameters. 2017-12-11 23:06:05 -07:00
Sean Bowe 7c48792511
Some test cleanups. 2017-12-06 10:21:56 -07:00
Sean Bowe 86619c7334
Implementation of fundamental circuitry and primitive Jubjub curve arithmetic. 2017-12-06 10:06:34 -07:00