Commit Graph

126 Commits

Author SHA1 Message Date
Sean Bowe 3aab758a11
Start splitting protocol specific routines off. 2016-08-05 23:12:34 -06:00
Sean Bowe dc87adf7fc
Carry the constraint system through and compute QAP reduction whenever necessary. 2016-08-05 12:06:51 -06:00
ebfull a736e51e7f Merge pull request #9 from Electric-Coin-Company/carry_qap
returning qap
2016-08-05 11:36:24 -06:00
Ariel Gabizon bc6fd2683e returning qap 2016-08-05 20:30:52 +03:00
Sean Bowe 4f85755795
Add FFT for computing the H query. 2016-08-04 21:47:20 -06:00
Sean Bowe 977a8e8dab
Add Fr::inverse 2016-08-04 20:22:31 -06:00
Sean Bowe 2d15e9df46
More possible libsnark interactions (exponentiation of Fr, zero/one) and changes to `const` in interface. 2016-08-03 09:10:59 -06:00
Sean Bowe f18273d8df
Add checks for sizes/alignment. 2016-08-02 23:30:47 -06:00
Sean Bowe dcb0d44b00
Allow us to easily switch to ate-pairing later. 2016-08-02 23:06:22 -06:00
Sean Bowe 3d8a255235
Change opt level 2016-08-02 22:02:27 -06:00
Sean Bowe c05c8c0d90
Randompowers subprotocol simulation 2016-08-02 16:19:04 -06:00
Sean Bowe 79e5782089
Fundamental pieces of the random powers subprotocol 2016-08-02 14:01:25 -06:00
Sean Bowe 27ad4bb114
Rename bnwrap to libsnarkwrap. 2016-08-02 10:35:28 -06:00
Sean Bowe e25790b4ca
Add README to snark subcrate. 2016-08-02 10:28:56 -06:00
Sean Bowe 07f1411031
Rename mpc_snark to snark. 2016-08-02 10:25:57 -06:00
Sean Bowe aa3e4602bc
Collapse mpc_snark's curve down. 2016-08-02 10:24:00 -06:00
Sean Bowe 4130c497da
Split libsnark interactions into subcrate 2016-08-02 10:22:35 -06:00
Sean Bowe 104c624271
Turn mpc into library. 2016-08-02 10:13:13 -06:00
Sean Bowe 8cbfc98977
Rename GroupElement -> Group. 2016-08-02 09:41:21 -06:00
Sean Bowe b47d8193ad
Pairings (closes #3) 2016-08-02 09:34:17 -06:00
Sean Bowe 731860e477
Further reorganization 2016-08-02 09:17:38 -06:00
Sean Bowe 04c0064a5c
Gt and Fr reorganization 2016-08-02 08:58:41 -06:00
Sean Bowe b463baa8f5
Scalar field arithmetic (closes #1) 2016-08-02 01:45:50 -06:00
Sean Bowe 6a008b0ce2
G2 arithmetic wrappers. (closes #2) 2016-08-01 22:02:26 -06:00
Sean Bowe d01e48b800
Foundations of libsnark interaction and BN curve operation wrappers. 2016-08-01 20:55:36 -06:00
Sean Bowe 34aa24a040
Initial commit. 2016-08-01 18:48:33 -06:00