Commit Graph

59 Commits

Author SHA1 Message Date
rachel-rose
3214e223be changed value names 2020-10-20 20:48:11 +02:00
rachel-rose
7c6c63ba53 removed trailing whitespace 2020-10-19 14:25:46 +02:00
narodnik
6d9e5a0411 added proofs/jubjub.params 2020-10-16 11:24:51 +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
1094a2234d cleanup proofs directory 2020-10-11 07:01:57 +02:00
narodnik
38b93fe60b create jubjub specific tests 2020-10-11 06:59:00 +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
1ef6264de9 begin setup for VCR mul calc 2020-10-08 21:55:15 +02:00
narodnik
945789c182 not small order 2020-10-08 21:15:22 +02:00
narodnik
0902abc58e begin to add mint2 contract 2020-10-08 20:59:24 +02:00
narodnik
bfd48c077f improve bits proof program 2020-10-08 10:05:36 +02:00
narodnik
ae181b1da3 add mimc hash function 2020-10-07 00:04:53 +02:00
narodnik
6ec9ff9d82 remove unused constants from bits.psm 2020-10-06 14:46:48 +02:00
narodnik
cb8851df17 bit decomposition 2020-10-06 14:44:52 +02:00
narodnik
1d5ef0d17e reveal public values 2020-10-04 14:37:58 +02:00
narodnik
0bfe462401 replace {{prefix}} with {{P}} 2020-10-04 14:34:57 +02:00
narodnik
90c255aa0b working point addition 2020-10-04 14:25:21 +02:00
narodnik
12863ecbc2 completed vm.py 2020-10-04 01:18:15 +02:00
narodnik
3267015f2e simplify vm.pism 2020-10-03 23:45:19 +02:00
narodnik
e2c77a2329 add jubjub.py 2020-10-03 23:11:06 +02:00
narodnik
89eb6e8c27 add vm.pism file 2020-10-01 02:15:41 +02:00
narodnik
1776f87d59 hide the coin... we don't reveal that 2020-09-23 16:40:21 +02:00
narodnik
2724fd3cb5 finished merkle inclusion proof 2020-09-23 16:35:55 +02:00
narodnik
e6590a4ebf add merkle hash function 2020-09-23 16:13:12 +02:00
narodnik
2d6beacaac begin merkle root hashing. 2020-09-23 15:46:32 +02:00
narodnik
7c7119572e switch nullifier hash to PRF_NF 2020-09-23 15:00:37 +02:00
narodnik
d366922217 partially working spend contract (just needs merkle inclusion part) 2020-09-23 13:29:20 +02:00
narodnik
7369f8f404 use a jinja macro to define a new function for putting fr values :) 2020-09-22 20:58:57 +02:00
narodnik
6e9c86a6de added code for mint contract 2020-09-22 20:37:17 +02:00
narodnik
fbd0653c5d initial mint contract 2020-09-22 15:59:24 +02:00
narodnik
0d97db8f6c add comment with vim autoload for pism 2020-09-22 14:11:43 +02:00
narodnik
e59009461b add simple preprocessor 2020-09-22 09:33:45 +02:00
narodnik
b6324df476 fix breaking change from last commit 2020-09-21 22:48:14 +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
1483a5c7c2 fix breaking change in last commit 2020-09-21 16:10:42 +02:00
narodnik
86daadded0 comment most of the proof out 2020-09-21 16:06:39 +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
7833f69ede indent, tidy and cleanup working.pism 2020-09-20 22:34:53 +02:00
narodnik
d2417f29d2 add simple.prf file 2020-09-20 22:29:07 +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
5828bee338 move out old schemas 2020-09-20 01:21:56 +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