Commit Graph

533 Commits

Author SHA1 Message Date
Sean Bowe
ececc2b60b Implement raw constraints for Bit 2016-01-24 01:42:38 -07:00
Sean Bowe
506ef75e3c Make macro compatible with more recent version of Rust 2016-01-23 02:17:43 -07:00
Sean Bowe
5d49abcf62 Fix tinysnark test 2016-01-22 21:21:40 -07:00
Sean Bowe
d0b589749a Force FieldT alignment 2016-01-22 21:18:52 -07:00
Sean Bowe
710059b779 Relicensed as Apache/MIT dual license. Closes #1. 2016-01-12 14:14:06 -07:00
Sean Bowe
b4d4331926 Refactor bit implementation (small improvements in number of constraints) 2016-01-10 03:26:54 -07:00
Sean Bowe
b82a2f60f7 Reorganize and remove (temporary) unsafe witnessing 2016-01-03 03:45:20 -07:00
Sean Bowe
7415d5ff3c Added unconstrained zk-SNARK implementation for SHA3 2016-01-03 03:15:03 -07:00
Sean Bowe
bc77a837df More cleanup 2015-12-28 04:08:01 -07:00
Sean Bowe
8445bb4bb7 Cleanup 2015-12-28 04:02:22 -07:00
Sean Bowe
75533e5e97 Abstract away the binary mapping from xor/notand. 2015-12-28 02:21:52 -07:00
Sean Bowe
774c4375ee Remove old chunks interface 2015-12-28 02:17:11 -07:00
Sean Bowe
f84e4449a5 Add test vector that tests endianness. 2015-12-28 02:15:15 -07:00
Sean Bowe
5b40589bc0 Made this more idiomatic 2015-12-28 02:13:31 -07:00
Sean Bowe
316b65514c Massive refactor of keccakf 2015-12-28 02:11:52 -07:00
Sean Bowe
4eac6417c3 Completely functional implementation with tests 2015-12-28 00:45:11 -07:00
Sean Bowe
a0d56f3451 getting there 2015-12-28 00:15:16 -07:00
Sean Bowe
0a3d848cbb broken test 2015-12-27 23:24:39 -07:00
Sean Bowe
007b55a843 Clean up warnings 2015-12-27 20:24:45 -07:00
Sean Bowe
ca289581a8 Clean up implementation to use vectors. We'll use arrays when Rust doesn't suck at them. 2015-12-27 20:19:03 -07:00
Sean Bowe
5fa9d9f438 Moved this to src/ 2015-12-27 17:40:11 -07:00
Sean Bowe
38767db686 WIP implementation of keccak with bellman 2015-12-27 17:38:16 -07:00
Sean Bowe
86146ddad7 Rearranged tests, added XOR example. 2015-12-26 10:18:44 -07:00
Sean Bowe
ab33ff017b Remove cs from proof api 2015-12-25 11:21:11 -07:00
Sean Bowe
fc1bdf2148 Added r1cs ppzksnark proving scheme and some tests. 2015-12-25 05:52:14 -07:00
Sean Bowe
a66c21fe11 Update travis configuration 2015-12-25 00:40:53 -07:00
Sean Bowe
1e5d4b40e7 Don't include benchmarking stuff for now. 2015-12-25 00:39:44 -07:00
Sean Bowe
02eb93d5d2 Test the right things 2015-12-25 00:37:52 -07:00
Sean Bowe
0b8b52cb41 Add basic field arithmetic. 2015-12-25 00:30:10 -07:00
Sean Bowe
8e0af61ba4 Add dockerfile 2015-12-24 03:22:56 -07:00
Sean Bowe
8e350f6b6a Update readme with travis build image 2015-12-24 03:19:30 -07:00
Sean Bowe
b554e93f72 Add travis-ci configuration 2015-12-24 03:16:11 -07:00
Sean Bowe
45111d6576 Initial commit 2015-12-24 02:58:38 -07:00