Commit Graph

23 Commits

Author SHA1 Message Date
arnaucube
b379981087 add circuit compiler equals(a, b) syntax, complete flow working well (from compiler to verification) 2019-05-11 23:06:02 +02:00
arnaucube
7d1d390a81 fixed full flow, now works, need to update circuit parser&compiler, and clean the code 2019-05-11 22:19:18 +02:00
arnaucube
e0f427095e add private & public inputs wrapper 2019-05-06 08:09:02 +02:00
arnaucube
de33c12283 small update, fix trusted setup ops over Field R 2019-05-05 22:59:53 +02:00
arnaucube
7d0c2ad53c fixing Z(x), VkIC, Vkz, piH calculations 2019-04-22 23:23:40 +02:00
arnaucube
6ac73415ab add rho's for proof keys and verification keys calculation, Vk.IC, add alphas input soundness when generating trusted setup 2019-02-28 19:52:59 +01:00
arnaucube
a7454213a0 circuit output in proof.PublicSignals for proof verification 2019-01-01 22:57:35 +01:00
arnaucube
33de628a91 cli 2018-12-30 21:42:07 +01:00
arnaucube
1375596a74 snark.Utils packed 2018-12-29 13:52:31 +01:00
arnaucube
aefb298bb0 circuit CalculateWitness, added - & / in GenerateR1CS(), added doc 2018-12-28 00:46:42 +01:00
arnaucube
0806af6b80 flat circuit code to R1CS working 2018-12-26 16:40:05 +01:00
arnaucube
a239ffe221 circuit parser (wip) 2018-12-24 22:59:18 +01:00
arnaucube
d42dffff22 starting circuitcompiler, lexer and parser (simple version) 2018-12-24 16:53:38 +01:00
arnaucube
f555ae4b18 snark trusted setup + generate proof + verify proof working. Added test to bn128 pairing 2018-12-23 16:19:33 +01:00
arnaucube
7aafcfd5f3 bn128.NewFqR with field over R. Setup.Pk & .Vk 2018-12-12 14:05:59 +01:00
arnaucube
439d894ee7 key generation for proofs, snark files to the root directory 2018-12-09 21:36:05 +01:00
arnaucube
19f7216d0e e(Vb, piB) == e(piB', g2) proof 2018-12-07 22:00:27 +01:00
arnaucube
917eecaee0 proofs 2018-12-06 17:39:21 +01:00
arnaucube
6cd494f36f doing trusted setup 2018-12-04 23:50:43 +01:00
arnaucube
88c3e98cae polynomial Division, SolPolynomials, DivisorPolynomial 2018-12-03 18:41:29 +01:00
arnaucube
b1df15a497 r1cs to qap over finite field 2018-12-02 19:13:18 +01:00
arnaucube
e889b8b7dc bn128 pairing, r1cs to qap 2018-12-01 22:05:04 +01:00
arnau
037c5c0a67 Initial commit 2018-12-01 22:02:51 +01:00