Commit Graph

499 Commits

Author SHA1 Message Date
bmerge
09b6e6f921 Auto merge of #82 - str4d:read-write-le, r=ebfull
Add read_le and write_le to PrimeFieldRepr
2018-05-17 17:55:18 +00:00
Sean Bowe
da5f1d3e37
Update to latest rustfmt 2018-05-17 11:59:20 -06:00
Sean Bowe
e4143a4bbc
Apply rustfmt to benchmarks 2018-05-17 10:50:56 -06:00
Sean Bowe
97bdd1655f
Update clippy 2018-05-17 10:44:28 -06:00
str4d
2a28b61468 Bump version 2018-05-17 16:52:19 +12:00
str4d
98bab6877a Add read_le and write_le to PrimeFieldRepr 2018-05-17 16:50:40 +12:00
ebfull
58ebd37d9d
Merge pull request #2 from DrPeterVanNostrand/fix-link-to-pairing-repo-in-docs
Fixed link to pairing library in docs.
2018-04-22 14:30:31 -06:00
Peter van Nostrand
0c2b25fe88 Fixed link to pairing library in docs. 2018-04-22 14:49:22 -04:00
Sean Bowe
385f6222b4
Version bump 2018-04-12 22:28:02 -06:00
Sean Bowe
9c45e44efd
Update link for Powers of Tau. 2018-04-12 22:27:49 -06:00
Sean Bowe
80065497e0
Update documentation 2018-04-08 15:17:22 -06:00
Sean Bowe
00b83471ab
Bump version again 2018-04-08 15:16:11 -06:00
Sean Bowe
3014f3c8bc
Switch to simpler BLAKE2b implementation. 2018-04-08 15:02:19 -06:00
Sean Bowe
23887cd35f
Version bump 2018-04-08 14:16:31 -06:00
Sean Bowe
c0009ae411
Fix documentation 2018-04-08 14:12:43 -06:00
Sean Bowe
b0c2cebc9c
Write entire pubkeys for signatures. 2018-04-08 14:06:20 -06:00
Sean Bowe
4fe95794c5
Add some expects. 2018-04-08 14:03:41 -06:00
Sean Bowe
4f80de43a2
Simplify API and improve performance 2018-04-08 13:49:01 -06:00
Sean Bowe
d60a14b08b
Fix doc comment 2018-04-07 20:56:28 -06:00
Sean Bowe
68c4bdb6ef
Bump version 2018-04-05 18:43:18 -06:00
Sean Bowe
2196f97fb7
Clean up API and add comments 2018-04-05 18:43:16 -06:00
Sean Bowe
462a681a1d
Verify transformations using a full verifier 2018-04-05 15:13:29 -06:00
Sean Bowe
a94574436d
Serialization of MPCParameters and PublicKey. 2018-04-05 13:48:37 -06:00
Sean Bowe
e11d51354f
MPCParameters demonstration. 2018-04-05 12:59:00 -06:00
Sean Bowe
3e22a75c85
Initial commit 2018-04-03 19:03:34 -06:00
Sean Bowe
5429415959
Add tool for verifying the powersoftau transcript. 2018-04-03 18:59:39 -06:00
ebfull
10c5010fd9
Merge pull request #22 from ebfull/final-changes
Final changes
2018-04-03 18:56:06 -06:00
Sean Bowe
96b2d3e41a Prevent trivial subversion attack against prover. 2018-04-02 22:21:42 -06:00
Sean Bowe
d14f2af8fa Make fields of Parameters/VerifyingKey/Proof public. 2018-04-02 18:15:39 -06:00
Sean Bowe
6e57ef0c4a Bump version 2018-03-31 23:23:37 -06:00
Sean Bowe
6ec7272586 Serialize lengths as 32-bit integers, not 64-bit. 2018-03-31 23:23:08 -06:00
Sean Bowe
c4fd8856ae Make multicore module public for now, because Worker is part of the EvaluationDomain API. 2018-03-31 23:16:55 -06:00
bmerge
dbe897d365 Auto merge of #79 - ebfull:nomorenightly, r=ebfull
Remove feature(i128_type)

The `i128_type` feature was recently stabilized in Rust, so this is unnecessary now for nightly users. In fact, in a few days there should be a new Rust beta (`1.26`) containing stable support for `i128_type`, meaning that (for Zcash) we can switch to the beta compiler for all future Rust development, and even switch to the stable compiler in six weeks when that's released.
2018-03-30 23:55:32 +00:00
Sean Bowe
2d12b9a858
Apply newer rustfmt rules. 2018-03-29 11:18:15 -06:00
Sean Bowe
fcaddaa356
Update Clippy to support latest nightly, and fix some lints. 2018-03-29 10:13:00 -06:00
Sean Bowe
bcc8379a7f
Version bump. 2018-03-29 09:23:20 -06:00
Sean Bowe
4cf5a534ec
i128_type feature has been stabilized in Rust. 2018-03-29 09:18:26 -06:00
Sean Bowe
aa8cbfe1a6
Fix comment for block hash. 2018-03-20 14:05:55 -06:00
Sean Bowe
4903e07835
Block hash for the beacon. 2018-03-20 14:04:51 -06:00
Sean Bowe
a0904e3a30
Use 2^42 iterations instead of 2^40. 2018-03-18 13:14:05 -06:00
Sean Bowe
2537d11f17
Add random beacon query code. 2018-03-18 12:39:55 -06:00
ebfull
33feb3763f
Merge pull request #17 from plutomonkey/update-rand-dependency
Update "rand" dependency to 0.4.
2018-03-04 20:45:28 -07:00
bmerge
ef7ade8c2c Auto merge of #78 - ebfull:release-0.14, r=ebfull
Release of pairing 0.14.0.

This release makes some changes in response to an audit of this library, as well as some obversations about the API that I made. Some names were changed (`divn` -> `shr`, `muln` -> `shl`) and `add_nocarry`/`sub_noborrow` no longer return anything (as their names would suggest.) Some potentially misleading comments are fixed as well.

The release also applies `rustfmt` and new lints from `clippy` to the codebase, enforced by the CI on a more recent version of the Nightly compiler.

Thanks go to @jasondavies for his contributions to this release.
2018-03-05 03:31:26 +00:00
Sean Bowe
92d2c13285
Release of pairing 0.14.0. 2018-03-04 20:01:23 -07:00
Sean Bowe
c9cacc7467 Bump version and integrate pairing 0.14. 2018-03-04 19:51:03 -07:00
bmerge
6fea7e382d Auto merge of #77 - ebfull:rustfmt-application-2, r=ebfull
Apply rustfmt

Supersedes #76

I've made a change to the CI which checks `rustfmt` against the code. Let's see if it worked.
2018-03-05 02:49:40 +00:00
Sean Bowe
f5370057bd Test deserialization of proofs in MiMC test example. 2018-03-04 19:41:59 -07:00
Sean Bowe
5f8747a0f4 Move MiMC example to tests. 2018-03-04 19:33:59 -07:00
Sean Bowe
86f652fa9f Some minor documentation/changes to domain. 2018-03-04 19:27:33 -07:00
Sean Bowe
f7815f6e49 Remove unused tests and fix documentation. 2018-03-04 18:49:07 -07:00