Commit Graph

57 Commits

Author SHA1 Message Date
narodnik
7a419fdf0a fix broken import: s/vm/compile/ 2020-10-17 17:29:44 +02:00
narodnik
15dffe950d rename lcX_add_one_coeff to lcX_add_constant, and add mimc example 2020-10-12 22:27:12 +02:00
narodnik
f55ba1569f improve compiler output 2020-10-12 22:12:08 +02:00
narodnik
403760bb13 show lines in compiler output 2020-10-12 21:36:28 +02:00
narodnik
2f4983f97a migrate to new API 2020-10-11 14:28:28 +02:00
narodnik
d1384e2b7d fix typo s/public/parameter/ 2020-10-11 13:10:57 +02:00
narodnik
c7bece1788 working set_param function in visor 2020-10-11 07:42:11 +02:00
narodnik
d3909756ee clean up old scripts 2020-10-11 06:42:31 +02:00
narodnik
d0a30306e5 added the Supervisor which gives us VM serialization, and added a plugin to the compiler to export binary data for the supervisor 2020-10-10 23:49:53 +02:00
narodnik
dd0ae8616e working jj mul 2020-10-09 10:22:22 +02:00
narodnik
d16f68b9f0 half working jj mul 2020-10-08 23:57:14 +02:00
narodnik
7f11f30021 jj conditional select working 2020-10-08 22:27:29 +02:00
narodnik
945789c182 not small order 2020-10-08 21:15:22 +02:00
narodnik
bfd48c077f improve bits proof program 2020-10-08 10:05:36 +02:00
narodnik
7158df6a29 show binary repr of -1 mod q 2020-10-07 00:54:28 +02:00
narodnik
ae181b1da3 add mimc hash function 2020-10-07 00:04:53 +02:00
narodnik
cb8851df17 bit decomposition 2020-10-06 14:44:52 +02:00
narodnik
90c255aa0b working point addition 2020-10-04 14:25:21 +02:00
narodnik
051d87fb18 create local variables in crypto ops section 2020-10-04 05:03:22 +02:00
narodnik
6e07c8c3fd improve help text 2020-10-04 02:23:42 +02:00
narodnik
8c66b8b148 vm intermediate language generating rust file for testing. serialization required. 2020-10-04 02:19:45 +02:00
narodnik
12863ecbc2 completed vm.py 2020-10-04 01:18:15 +02:00
narodnik
77b7552d5a make fake zk jubjub add 2020-10-03 23:42:39 +02:00
narodnik
9d9d30815a add jubjub identity stuff 2020-10-03 23:25:41 +02:00
narodnik
164d4bc453 add jubjub.rs 2020-10-03 23:21:59 +02:00
narodnik
e2c77a2329 add jubjub.py 2020-10-03 23:11:06 +02:00
narodnik
af98124390 clean up the example modp 2020-10-01 13:03:35 +02:00
narodnik
dfe076627b bls scalar field 2020-10-01 12:58:30 +02:00
narodnik
89eb6e8c27 add vm.pism file 2020-10-01 02:15:41 +02:00
narodnik
147d099596 fix missing type checking for compiler 2020-09-25 13:01:59 +02:00
narodnik
b4f7590b26 QAP sample 2020-09-24 23:13:20 +02:00
narodnik
4ae0f30feb tohtml script 2020-09-23 17:00:11 +02:00
narodnik
1d4349fdf4 put unused_mut in contracts to suppress warning. 2020-09-23 15:06:49 +02:00
narodnik
d366922217 partially working spend contract (just needs merkle inclusion part) 2020-09-23 13:29:20 +02:00
narodnik
6e9c86a6de added code for mint contract 2020-09-22 20:37:17 +02:00
narodnik
0d97db8f6c add comment with vim autoload for pism 2020-09-22 14:11:43 +02:00
narodnik
521443363f add preprocessor highlighting to pism syntax file 2020-09-22 09:42:57 +02:00
narodnik
e59009461b add simple preprocessor 2020-09-22 09:33:45 +02:00
narodnik
f6410d5499 finished adding final commands: ec_get_u, alloc/clone_bit, binary_push, scalar_alloc, conditionally_reverse, scalar_as_binary, scalar_enforce_equal, emit_scalar 2020-09-21 22:44:56 +02:00
narodnik
58ee64a837 add pedersen_hash related functionality 2020-09-21 16:05:12 +02:00
narodnik
2bda684163 working blake2s hash function! 2020-09-21 13:41:44 +02:00
narodnik
47131b3a53 fix bug and add more commands 2020-09-21 12:00:10 +02:00
narodnik
e710fb2cd4 split off codgen functions into a separate module. have working ec ops 2020-09-21 10:18:27 +02:00
narodnik
bd29e9a12d working cradle! 2020-09-20 22:18:22 +02:00
narodnik
0bb0da0e03 add aux support for hooking up const values 2020-09-20 22:08:14 +02:00
narodnik
5989b9ef1c working simple example 2020-09-20 21:31:36 +02:00
narodnik
20424ce011 pism 2020-09-20 18:38:26 +02:00
narodnik
133e94b2d9 finished pism spec 2020-09-20 01:15:06 +02:00
narodnik
6dc84fd26e pism work 2020-09-19 14:16:41 +02:00
narodnik
8d17c4785c add new psuedocode contract script file 2020-09-18 17:52:05 +02:00