Sean Bowe
c9fbf490dc
Implementation of Jens Groth's generic group zk-SNARK proving system.
8 years ago
Sean Bowe
9a3743c7c4
Various improvements to BLS implementation:
...
* Switch from rayon to crossbeam
* Allow windows to be reused per batch exp
* Allow batchexp to take vector by value
* Allow access to thread-local engine context
* Allow cloning of Engine
* Clean up wNAF abstractions to reduce heap allocation
8 years ago
Sean Bowe
91348647a8
Fix indentation.
8 years ago
Sean Bowe
2c9ee1a8bb
Add stdint include.
8 years ago
Sean Bowe
7cf3af7d67
Add includes.
8 years ago
Sean Bowe
ce515886ca
Add license files.
8 years ago
Sean Bowe
d7085b90c8
Initial commit.
8 years ago
Sean Bowe
f835556ffb
The current year is 2017!
8 years ago
Sean Bowe
25375ee819
Update licenses.
8 years ago
Sean Bowe
9c3f6fb92f
Change travis to nightly.
8 years ago
Sean Bowe
2321ead995
In with the new.
8 years ago
Sean Bowe
c506c48c91
Out with the old...
8 years ago
Sean Bowe
e24fcfdc5c
Added primitive circuit abstraction, tests for sha3.
9 years ago
Sean Bowe
67003a471b
Fixed type error
9 years ago
Sean Bowe
da373758e5
Minor improvements
9 years ago
Sean Bowe
ececc2b60b
Implement raw constraints for Bit
9 years ago
Sean Bowe
506ef75e3c
Make macro compatible with more recent version of Rust
9 years ago
Sean Bowe
5d49abcf62
Fix tinysnark test
9 years ago
Sean Bowe
d0b589749a
Force FieldT alignment
9 years ago
Sean Bowe
710059b779
Relicensed as Apache/MIT dual license. Closes #1 .
9 years ago
Sean Bowe
b4d4331926
Refactor bit implementation (small improvements in number of constraints)
9 years ago
Sean Bowe
b82a2f60f7
Reorganize and remove (temporary) unsafe witnessing
9 years ago
Sean Bowe
7415d5ff3c
Added unconstrained zk-SNARK implementation for SHA3
9 years ago
Sean Bowe
bc77a837df
More cleanup
9 years ago
Sean Bowe
8445bb4bb7
Cleanup
9 years ago
Sean Bowe
75533e5e97
Abstract away the binary mapping from xor/notand.
9 years ago
Sean Bowe
774c4375ee
Remove old chunks interface
9 years ago
Sean Bowe
f84e4449a5
Add test vector that tests endianness.
9 years ago
Sean Bowe
5b40589bc0
Made this more idiomatic
9 years ago
Sean Bowe
316b65514c
Massive refactor of keccakf
9 years ago
Sean Bowe
4eac6417c3
Completely functional implementation with tests
9 years ago
Sean Bowe
a0d56f3451
getting there
9 years ago
Sean Bowe
0a3d848cbb
broken test
9 years ago
Sean Bowe
007b55a843
Clean up warnings
9 years ago
Sean Bowe
ca289581a8
Clean up implementation to use vectors. We'll use arrays when Rust doesn't suck at them.
9 years ago
Sean Bowe
5fa9d9f438
Moved this to src/
9 years ago
Sean Bowe
38767db686
WIP implementation of keccak with bellman
9 years ago
Sean Bowe
86146ddad7
Rearranged tests, added XOR example.
9 years ago
Sean Bowe
ab33ff017b
Remove cs from proof api
9 years ago
Sean Bowe
fc1bdf2148
Added r1cs ppzksnark proving scheme and some tests.
9 years ago
Sean Bowe
a66c21fe11
Update travis configuration
9 years ago
Sean Bowe
1e5d4b40e7
Don't include benchmarking stuff for now.
9 years ago
Sean Bowe
02eb93d5d2
Test the right things
9 years ago
Sean Bowe
0b8b52cb41
Add basic field arithmetic.
9 years ago
Sean Bowe
8e0af61ba4
Add dockerfile
9 years ago
Sean Bowe
8e350f6b6a
Update readme with travis build image
9 years ago
Sean Bowe
b554e93f72
Add travis-ci configuration
9 years ago
Sean Bowe
45111d6576
Initial commit
9 years ago