Commit Graph

84 Commits

Author SHA1 Message Date
Remco Bloemen 703fe282c1 Construct module directly from bytes 2022-03-23 21:33:36 -07:00
Philipp Sippl 92bb3f8dd3
Merge pull request #11 from worldcoin/remco/det_proof
Deterministic proof generation for tests
2022-03-21 12:22:29 +01:00
Philipp Sippl d861a73645
Merge pull request #10 from worldcoin/remco/concurrent-proof
Work around concurrent witness calculator bug
2022-03-21 12:21:52 +01:00
Philipp Sippl 8766cf850a
Merge pull request #9 from worldcoin/remco/proof-serialize
Add serializable proof type
2022-03-21 12:11:43 +01:00
Philipp Sippl 23453b048f
Merge pull request #7 from worldcoin/remco/field-serialize
Add a Field newtype with serde
2022-03-21 11:59:11 +01:00
Philipp Sippl e094d7422e
Merge pull request #6 from worldcoin/remco/hash-to-field
hash_to_field and exposed hashes
2022-03-21 11:46:54 +01:00
Remco Bloemen 16d2c02545 Deterministic proof generation 2022-03-18 18:23:38 -07:00
Remco Bloemen f89a4e399f Mutex guard the witness calculator 2022-03-18 15:28:30 -07:00
Remco Bloemen 0e5779729d Add explicitely concurrent test 2022-03-18 15:24:03 -07:00
Remco Bloemen b33c2f1b4b Add tests 2022-03-18 15:15:54 -07:00
Remco Bloemen a21ae33661 Debug + Display for Field 2022-03-18 15:13:06 -07:00
Remco Bloemen 4fdb8ff9f5 Fix unconversion 2022-03-18 12:48:35 -07:00
Remco Bloemen 75ce9df311 Proof newtype with serde 2022-03-18 12:34:36 -07:00
Remco Bloemen 942880b27f
Merge pull request #8 from oskarth/fix-submodule-https
chore: update semaphore submodule to https
2022-03-18 11:14:54 -07:00
Oskar Thoren 3964ab8f5e
chore: update semaphore submodule to https 2022-03-18 13:10:14 +08:00
Remco Bloemen 047c0a1f91 Test serializer 2022-03-17 16:06:47 -07:00
Remco Bloemen 347c6bcaf9 Factor serde to utils 2022-03-17 15:39:06 -07:00
Remco Bloemen 0a17226a4c Newtype the Field so we can add serializers 2022-03-17 14:58:14 -07:00
Remco Bloemen 8ff42be353 hash_to_field and exposed hashes 2022-03-17 11:07:06 -07:00
Remco Bloemen 73faeb623a
Merge pull request #5 from oskarth/fix-readme
Fix README link
2022-03-17 09:49:15 -07:00
Oskar Thoren 20ff3e34d5
Fix README link
Without this the build fails for me:

```
error: couldn't read src/../Readme.md: No such file or directory (os error 2)
 --> src/lib.rs:1:10
  |
1 | #![doc = include_str!("../Readme.md")]
  |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
2022-03-17 19:56:36 +08:00
Remco Bloemen 124043470e
Merge pull request #4 from worldcoin/remco/embed
Embed circuit spec
2022-03-16 10:17:00 -07:00
Remco Bloemen f1f2dff348
Merge pull request #3 from worldcoin/remco/avoid-bigint
Avoid bigint
2022-03-16 10:15:59 -07:00
Remco Bloemen 6964f9f93d
Merge pull request #2 from worldcoin/remco/ci
Add CI and fix clippies
2022-03-16 10:15:17 -07:00
Remco Bloemen 335ed92b9f Fix example 2022-03-11 16:13:18 -08:00
Remco Bloemen 545c6b0a83 Fix clippies 2022-03-11 16:11:06 -08:00
Remco Bloemen b4b2e50121 Remove config 2022-03-11 16:03:17 -08:00
Remco Bloemen 7501a56b4c Embed circuit 2022-03-11 16:01:52 -08:00
Remco Bloemen 3de4debd55 Implement last hash and conversion 2022-03-11 15:01:20 -08:00
Remco Bloemen a7108109fc Implement conversions 2022-03-11 14:50:51 -08:00
Remco Bloemen adde0a558d Avoid bigint 2022-03-11 13:41:46 -08:00
Remco Bloemen 7859da2b22 Solve merge conflicts 2022-03-11 11:12:44 -08:00
Remco Bloemen 030287e35a Merge branch 'main' into remco/ci 2022-03-11 10:59:55 -08:00
Remco Bloemen 67b7f2f9ed Remove cargo lock 2022-03-11 10:54:20 -08:00
Remco Bloemen 3f9442decb Fix dep clippies 2022-03-11 10:44:33 -08:00
Remco Bloemen 950e5b3c34 Fix undocumented panics 2022-03-11 10:42:56 -08:00
Remco Bloemen 016dea234e Error handling 2022-03-11 10:35:29 -08:00
Remco Bloemen 2f8acc3c15 Fix clippies 2022-03-10 16:06:26 -08:00
Remco Bloemen 53ef9937cb No lockfile in libraries 2022-03-10 15:42:05 -08:00
Remco Bloemen 974d0b43bd Make doctest pass 2022-03-10 15:32:59 -08:00
Remco Bloemen f192620c4b Spelling exceptions 2022-03-10 15:31:59 -08:00
Remco Bloemen 2ea195ff64 Add readme to docs and clippy rules 2022-03-10 13:25:24 -08:00
Remco Bloemen 9b8988419d
Merge pull request #1 from worldcoin/philsippl/extract_external_nullifier
extract external_nullifier calculation
2022-03-10 13:23:00 -08:00
psippl 15a6721a1c extract external_nullifier calculation 2022-03-09 15:53:03 +01:00
Remco Bloemen 52f1a9ba5d Add optional mimc support 2022-03-07 11:41:42 +01:00
psippl 43d564448c added usage 2022-03-06 19:23:42 +01:00
psippl 6fc71ab357 remove snarkfiles dir 2022-03-06 19:15:44 +01:00
psippl c916ecbbe5 added semaphore submodule 2022-03-06 19:12:39 +01:00
Remco Bloemen 24c1df8fac Add optional mimc support 2022-03-01 16:44:25 -08:00
Remco Bloemen 3e7ff80611 Add benchmark 2022-02-28 19:44:30 -08:00