1
0
Fork 0
mirror of synced 2025-09-23 04:08:33 +00:00
Commit graph

248 commits

Author SHA1 Message Date
Jacob Eberhardt
7775c496f9 Support for inline comments added. 2017-08-25 14:06:27 +02:00
Jacob Eberhardt
5172569c46 Expressions in Function Calls refactored. 2017-08-24 17:54:23 +02:00
Jacob Eberhardt
0a40e64ccb Intermediary state before refactoring of substitutions in function calls for better readability 2017-08-24 17:33:38 +02:00
Jacob Eberhardt
9fdfa69701 Intermediate State. 2017-08-24 17:09:00 +02:00
Jacob Eberhardt
91681df2f0 Function flattening bug fixed. 2017-08-23 13:07:30 +02:00
Jacob Eberhardt
74e98a7348 Fixed libsnark feature conditional compilation 2017-08-22 16:53:02 +02:00
Jacob Eberhardt
1c0ab7c9a2 Fixed warning. 2017-08-22 16:43:46 +02:00
Jacob Eberhardt
28347781e6 FunctionCall arguments can now contain Expressions 2017-08-22 14:45:22 +02:00
Jacob Eberhardt
93936ae5d4 Intermediary Backup. Not working yet. 2017-08-17 15:40:38 +02:00
Dennis Kuhnert
268cd7f84a Fix inequality conditional flattening 2017-07-12 11:42:56 +02:00
Dennis Kuhnert
1160e90670 Merge pull request #2 from Kyroy/functions
Functions
2017-07-12 11:28:43 +02:00
Dennis Kuhnert
174ab4b64f Update example to work with libsnark 2017-07-06 16:45:16 +02:00
Jacob Eberhardt
5d7cbf7ab5 Serialization and curve init fixed. Proof works!!! 2017-07-06 16:08:32 +02:00
Dennis Kuhnert
2332c7b509 Dockerfile compiles in release mode 2017-07-06 15:06:09 +02:00
Dennis Kuhnert
fb8442ff6a Fix multiple bugs in function flattening; add examples 2017-07-06 13:28:11 +02:00
Jacob Eberhardt
45cff4fb01 Output formatting. Witness to r1cs_variable_assignment still needs to be fixed. 2017-06-29 21:53:35 +02:00
Jacob Eberhardt
f75f05e2d2 Reworked the zkSNARK generation and exports to solidity (proof + input + verification key) 2017-06-29 19:41:02 +02:00
Jacob Eberhardt
e8fabb087a Proof added to output. 2017-06-22 13:18:33 +02:00
Dennis Kuhnert
22f2d4b705 Fix README docker image name 2017-06-18 12:56:12 +02:00
Dennis Kuhnert
a0e18b0892 Merge branch 'master' of github.com:Kyroy/VerifiableStatementCompiler into functions 2017-06-18 12:53:22 +02:00
Dennis Kuhnert
a8796aecfa Fix dockerfile, add to README 2017-06-18 12:48:45 +02:00
Jacob Eberhardt
069cf1484e Removed test 2017-06-14 00:18:50 +02:00
Jacob Eberhardt
f7b197791f Code samples adapted so they have a main function
Code samples now reflect the changes made to the absy by adding functions.
2017-06-13 17:39:20 +02:00
Jacob Eberhardt
62094b409e Fixed warnings due to unused variables. 2017-06-13 17:22:51 +02:00
Jacob Eberhardt
2720026f77 Added functions example 2017-06-13 12:04:52 +02:00
Jacob Eberhardt
55a915912d Removed now invalid example 2017-06-13 11:58:00 +02:00
Jacob Eberhardt
f31cc4a7ba Function Expression can now be resolved. 2017-06-13 11:57:19 +02:00
Jacob Eberhardt
3eb3bb730e Parsing,AbSy, flattening and r1cs conversion adapted to support functions 2017-05-15 18:06:24 +02:00
Jacob Eberhardt
65bbe12bba Function definition abstraction added.
Parsing of function definitions added. No function call expressions yet. Snapshot before refactoring absy.rs.
2017-05-11 16:40:58 +02:00
Jacob Eberhardt
fc7c4555c9 Functions code sample added and Grammar adapted. 2017-04-06 15:30:41 +02:00
Jacob Eberhardt
9a466c9cb7 Merge branch 'master' of https://github.com/Kyroy/VerifiableStatementCompiler
Conflicts:
	lib/wraplibsnark.cpp
2017-03-27 18:10:23 +02:00
Jacob Eberhardt
e0b6c8f807 Solidity compatible export of verification key added. 2017-03-27 18:01:06 +02:00
Dennis Kuhnert
a1e1223920 Add `for' statement to parser 2017-03-23 22:35:43 +01:00
Dennis Kuhnert
fc51968c47 Format and inport changes 2017-03-23 19:56:25 +01:00
Jacob Eberhardt
d26f7c6382 Prime number for prime field changed, test cases adapted 2017-03-23 18:08:58 +01:00
Jacob Eberhardt
b6d98e6a0f Formatting and Comments 2017-03-22 19:06:11 +01:00
Jacob Eberhardt
397c99437a README updated. 2017-03-22 19:01:26 +01:00
Jacob Eberhardt
30a91f46d3 Bugfix in rust->cpp matrix conversion 2017-03-22 18:58:05 +01:00
Jacob Eberhardt
5a754b21ad Verification Key Export added. 2017-03-22 17:26:58 +01:00
Jacob Eberhardt
35d51194fe Libsnark connection implemented. R1CS now correclty transferred to cpp. 2017-03-21 13:53:18 +01:00
Jacob Eberhardt
bdf96e2bbb Rust-side of libsnark integration adapted. 2017-03-16 17:34:57 +01:00
Dennis Kuhnert
697f10f39c Use FieldPrime required bits in tests 2017-03-01 00:17:19 +01:00
Dennis Kuhnert
cc82bf0224 Fix bug in "<" flattening; Add test 2017-03-01 00:15:30 +01:00
Dennis Kuhnert
6c9fc391bb Rename VariableReference -> Identifier, NumberLiteral -> Number 2017-03-01 00:03:11 +01:00
Dennis Kuhnert
e5cffc9763 Optimize flattening of equation == 2017-02-28 21:47:44 +01:00
Dennis Kuhnert
7080e382e1 Add iterative version of count_variables_add 2017-02-26 12:17:55 +01:00
Dennis Kuhnert
019d8104ca Add iteratice version of swap_sub (r1cs) 2017-02-26 12:05:19 +01:00
Dennis Kuhnert
d9697ec42a Use get_required_bits; Optimize Condition::Lt flattening 2017-02-26 12:03:50 +01:00
Dennis Kuhnert
83c7ce2f21 Add field::get_required_bits 2017-02-26 12:02:39 +01:00
Dennis Kuhnert
0793d8b4eb Add documentation for flatten.rs; Add Flattener constructor parameter: bits 2017-02-25 00:11:20 +01:00