Commit Graph

24 Commits

Author SHA1 Message Date
parazyd
e6455facb7 Migrate more crypto API to sdk 2022-11-07 22:27:24 +01:00
parazyd
d7ee8f3e0c Update calls throughout repository for latest darkfi-sdk changes. 2022-11-07 01:42:39 +01:00
parazyd
8ae84ad7f9 Add license header to source files. 2022-10-31 18:16:13 +01:00
Luther Blissett
62d1f06c1f Update imports for type migrations. 2022-10-17 00:34:34 +02:00
Luther Blissett
e5c1e962ad tests/burn_proof: Fix public inputs vector. 2022-10-14 02:30:21 +02:00
Luther Blissett
9865b21a28 crypto: Stricter API for nullifier and secretkey. 2022-10-14 02:29:51 +02:00
Luther Blissett
a24d9db8e9 tests: Add test units to test all zkvm opcodes.
TODO: Test failures.
2022-08-29 22:41:23 +02:00
parazyd
8ef05a186b crypto: Rework pedersen commitments to allow also full-width base inside zk. 2022-08-08 15:01:11 +02:00
parazyd
6215fc7bd6 zk: Port code to latest Halo2 API.
greater_than and crypsinous lead proof are temporarily disabled.
2022-06-18 16:08:52 +02:00
parazyd
587f0b4b93 make fix and minor manual cleanups. 2022-05-22 12:29:23 +02:00
aggstam
af07641e08 tests/network_transports.rs: added timeout at tor dials 2022-05-20 16:00:01 +03:00
parazyd
f8c2ee5617 Port codebase to latest halo2 API. 2022-05-16 17:30:46 +02:00
aggstam
3b3a408d27 example/net.rs + tests/network_transports.rs dependencies minor fixes 2022-05-11 19:09:39 +03:00
parazyd
be3f87cfea net: Rework transports for protocol upgrades. 2022-05-03 00:18:53 +02:00
parazyd
f4bab15776 Update dependencies and CI. 2022-04-23 21:21:19 +02:00
narodnik
ae6d27001c Merge branch 'pil' 2022-04-10 05:27:41 +02:00
piltom
4dbd513418 net/transport add tor transport 2022-04-09 20:16:23 +02:00
lunar-mining
ba355bc95c test/arithmetic_proof: add simplelog and set to Debug 2022-04-08 16:16:58 -05:00
parazyd
4d8557155c transport/tls: Clean up and rotate certificates every instantiation. 2022-03-28 19:59:41 +02:00
parazyd
fb2d3a1033 net/transport: Implement listeners for TCP and TLS + integration tests. 2022-03-28 19:59:41 +02:00
parazyd
7794dfaee8 tests: Increase number of rows for mint and burn proofs. 2022-03-28 19:59:37 +02:00
parazyd
3447c87dd8 zkas, vm: Implement greater_than opcode for scalar comparison. 2022-03-28 19:59:36 +02:00
parazyd
87b1cb49ad zk/vm: Implement function for making empty witnesses from ZkBinary.
This is useful for verifiers to enforce behaviour and avoid mismanaging
the witnesses that need to be input into the circuit when verifying
a proof.

Note that the prover still has to manage this by themself. There
might be some way to generalise this, but in practice, when creating
a ZK proof, the prover should always be aware of what witnesses they
should be inputting, so this can be represented procedurally in the
code without the need of an abstraction.
2022-03-19 01:07:49 +01:00
parazyd
e7d968dfd7 Clean up proof and testdata directories and move into tests dir. 2022-03-17 10:22:48 +01:00