1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
Commit graph

921 commits

Author SHA1 Message Date
sdeml
eb7ce0982b —gadgets flag is not necessary any more 2018-10-25 15:30:58 +01:00
sdeml
01058e5783 add programming concepts and changed example 2018-10-25 15:22:21 +01:00
sdeml
a0e93c6683 changes on the structure and beginning of SHA256 example 2018-10-25 15:22:21 +01:00
Tjaden Hess
a3d99e5477 Start refactoring boolean expressions
Note: In the future I would like to refactor again so that boolean and field expressions are parsed together, type checking should be done at a later stage.
2018-10-24 22:06:17 -04:00
Brian Guo
f1966e918d [add] fixed flattening for OR 2018-10-24 20:52:24 -04:00
Brian Guo
182449812f Merge branch 'boolean_operators' into or 2018-10-24 19:08:54 -04:00
JacobEberhardt
14898f0ab6
Merge pull request #144 from JacobEberhardt/doc/attribution
Added schaeff to authors.
2018-10-24 16:25:26 +02:00
JacobEberhardt
dfb65424f8 Added schaeff to authors. 2018-10-24 15:57:44 +02:00
JacobEberhardt
02919d5069
Merge pull request #138 from Schaeff/array
Add support for field element arrays
2018-10-24 14:42:14 +02:00
schaeff
e23d0b2b63 refine inlining strategy 2018-10-24 12:15:15 +02:00
schaeff
1610ea4486 clean 2018-10-24 11:38:09 +02:00
schaeff
0130f15202 move example 2018-10-24 11:32:41 +02:00
schaeff
27a1714294 Merge branch 'add-ast-folder' into array 2018-10-24 11:31:09 +02:00
schaeff
1b3bd8c692 use folder for all typed analysis 2018-10-24 11:30:29 +02:00
JacobEberhardt
ab2a9c9aa9
Merge pull request #141 from Schaeff/packed-sha-libsnark
Add a packed sha256 function
2018-10-23 20:07:04 +02:00
schaeff
077468944f revert example 2018-10-23 18:48:33 +02:00
schaeff
1ebe026a34 Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into array 2018-10-23 18:34:31 +02:00
Thibaut Schaeffer
4e69f16eb1
Merge pull request #142 from 3psil0n/develop
Adding Support for Proof Output
2018-10-23 18:33:20 +02:00
schaeff
3b129a1c1d split libsnark and packing helpers 2018-10-23 17:28:17 +02:00
Filip Fatz
20cd8b07d8 minor fix: added missing comma 2018-10-23 14:53:48 +00:00
Filip Fatz
1855d100b4 add helper formatting methods for JSON output 2018-10-23 14:49:02 +00:00
Filip Fatz
c23447497d enabling ZoKrates user to output proof parameters and public input parameters as JSON during generate-proof 2018-10-23 14:36:31 +00:00
schaeff
4deabb3112 solve conflict 2018-10-23 10:32:58 +02:00
schaeff
4d778307f7 Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into packed-sha-libsnark 2018-10-23 10:30:18 +02:00
schaeff
4478162061 add packed sha256 for 2 254 inputs 2018-10-22 19:48:35 +02:00
JacobEberhardt
86e4e0e28b
Merge pull request #137 from Schaeff/propagation
Add constant propagation
2018-10-22 16:31:58 +02:00
schaeff
881b0b49c2 fix conflicts 2018-10-19 18:49:40 +02:00
schaeff
d45f5f1632 allow array as return, add dead code elimination, fix array flattening 2018-10-19 18:39:59 +02:00
schaeff
56c14d5626 add generic folder and inliner 2018-10-19 13:45:15 +02:00
JacobEberhardt
70ee526504
Merge pull request #140 from Schaeff/remove-substitution
Replace substitutions with normal hashmaps
2018-10-18 14:02:16 +02:00
JacobEberhardt
526b982840
Merge pull request #139 from Schaeff/fix-integration-test
Enable gadgets for ethereum sha test
2018-10-18 14:01:49 +02:00
schaeff
edf054f278 merge substitution removal 2018-10-18 13:14:38 +02:00
schaeff
e8ea590563 replace substitutions with normal hashmaps 2018-10-18 12:52:06 +02:00
schaeff
35adb3f59a enable gadgets for ethereum sha test 2018-10-18 12:16:26 +02:00
Richard Sun
6d23026cb3 fix a bug in expression.rs test 2018-10-17 17:09:02 -04:00
Richard Sun
0f69c27d4d add parse_boolean_or test in expression.rs 2018-10-17 13:06:43 -04:00
Richard Sun
14a9b161c9 resolve merge conflict 2018-10-17 00:58:03 -04:00
Richard Sun
5a69c97a75 add or to token and tokenizer 2018-10-17 00:56:13 -04:00
schaeff
0f53e5d553 port sha256 to arrays wip 2018-10-16 19:41:20 +02:00
schaeff
c8a6275e72 solve conflict 2018-10-16 15:08:45 +02:00
schaeff
9aeea63ebe fix array ssa to use a single definition 2018-10-16 14:32:13 +02:00
schaeff
c8e1496eaa clean 2018-10-15 14:29:35 +02:00
schaeff
eb0fd4ca95 fix conflict 2018-10-15 13:19:33 +02:00
schaeff
1a0a74e884 fix standard 2018-10-15 13:08:56 +02:00
schaeff
029d7307db add tests, clean, refactor arrayelement to take field as index 2018-10-15 12:44:27 +02:00
Giancarlo Pacenza
59a4779b1b edited flatten and expression.rs 2018-10-12 16:49:13 -04:00
schaeff
3a35c134b0 add rough constant propagation 2018-10-12 20:21:46 +02:00
schaeff
7b7e6a11c6 Merge branch 'propagation' into array 2018-10-12 16:59:00 +02:00
schaeff
8b2319b0cb add loop unrolling, post flattening constant propagation 2018-10-12 16:40:11 +02:00
Giancarlo Pacenza
6ac37c5a9c added or to typed_absy, fixed typo in semantics 2018-10-11 15:53:32 -04:00