Commit Graph

1291 Commits

Author SHA1 Message Date
Kobi Gurkan f3533e291f
boolean: adds tests for alloc_conditionally 2019-09-16 22:08:30 +01:00
Kobi Gurkan e0c5ef22bc
ecc: makes assert_not_small_order tests deeper 2019-09-16 22:08:27 +01:00
Kobi Gurkan ace929c5ba
ecc: test_assert_not_small_order also tests for the generators 2019-09-16 22:03:22 +01:00
Kobi Gurkan bb0a769162
ecc: tests for assert_not_small_order 2019-09-16 22:01:00 +01:00
Aurélien Nicolas 68ba93f5fd
PH test vectors for edge-cases 2019-09-16 21:58:28 +01:00
Aurélien Nicolas 6240c02208
Long and random PH test vectors 2019-09-16 21:57:53 +01:00
Aurélien Nicolas be18eb240c
Move test vectors into own module 2019-09-16 21:57:42 +01:00
Aurélien Nicolas 9080b4ccf3
Many test vectors for pedersen hash 2019-09-16 20:52:11 +01:00
Aurélien Nicolas f5dfe07355
A test vector for pedersen hash 2019-09-16 20:50:22 +01:00
Kobi Gurkan 2ee7b108af
blake2s: adds test vectors from go-jubjub 2019-09-16 20:34:21 +01:00
Kobi Gurkan 2edcc12e8e
group_hash: adds test vectors generated by go-jubjub 2019-09-16 20:34:14 +01:00
Kobi Gurkan 2b92493a45
input circuit: removes debug prints 2019-09-16 20:28:23 +01:00
Kobi Gurkan abd03928b4
adds test vectors for NoteCommit 2019-09-16 20:28:10 +01:00
Taylor Hornby cc2a41d86c
Fix blake2s test data length assertion. 2019-09-16 20:24:31 +01:00
Kobi Gurkan 804f4cba67
Add blake2s test vectors for varying sizes from go-jubjub 2019-09-16 20:23:09 +01:00
Kobi Gurkan 7ee61c4f94
pedersen_hash: adds test vectors for the circuit implementation 2019-09-16 20:23:07 +01:00
Kobi Gurkan 43496857c9
pedersen_hash: removes debug prints 2019-09-16 20:20:03 +01:00
Kobi Gurkan 4835be05b0
pedersen_hash: show a tighter limit for hash sizes 2019-09-16 20:17:52 +01:00
Kobi Gurkan 15633ad434
pedersen hashes: example of size limit bug 2019-09-16 20:17:50 +01:00
Kobi Gurkan 414d651c9c
pedersen_hash: adds tests for Daniel's vector 2019-09-16 20:12:38 +01:00
Kobi Gurkan 8541b2bde4
pedersen_hash: prints hashes, adds comments 2019-09-16 20:12:33 +01:00
Jack Grigg 28dcc1c346
bellman: Fix compile errors without multicore feature 2019-09-12 19:38:52 +01:00
Jack Grigg b397a9c405
cargo update 2019-09-12 19:38:51 +01:00
Jack Grigg 0a3b0a9341
Upgrade to hex-literal 0.2 2019-09-12 19:38:51 +01:00
Jack Grigg 89dad572ef
Migrate bellman to crossbeam 0.7 2019-09-12 19:38:50 +01:00
NikVolf 79cba2e500 run against long examples 2019-09-10 12:51:23 +03:00
NikVolf 4ec651d172 update naming 2019-09-09 18:28:23 +03:00
NikVolf f5c1381c4c arrange data generator example properly 2019-09-09 18:23:18 +03:00
NikVolf a0c33945ab write for entry 2019-09-09 14:33:49 +03:00
NikVolf 96b130e034 update readme 2019-09-09 14:06:05 +03:00
NikVolf 636f3e3751 update readme 2019-09-09 11:52:57 +03:00
NikVolf b73f49c968 add optional file generation 2019-09-09 11:50:41 +03:00
NikVolf a5c4d51652 improve on api 2019-09-08 09:32:47 +03:00
NikVolf c87122561f add .travis.yml 2019-09-08 00:17:40 +03:00
NikVolf 9470610b75 license and readme 2019-09-07 19:23:13 +03:00
NikVolf 0afa122970 add .travis.yml 2019-09-07 19:18:49 +03:00
NikVolf 0bfd1d6b0d resolve_link is of course public 2019-09-07 18:30:57 +03:00
NikVolf ad403f1cca add data reader 2019-09-07 18:22:37 +03:00
NikVolf a9d2ce7150 from_bytes for NodeData 2019-09-07 18:15:18 +03:00
NikVolf 6d9deefb93 fix read and add from_bytes 2019-09-07 14:10:08 +03:00
NikVolf 49763d1c01 arrange constants 2019-09-07 14:04:51 +03:00
NikVolf de053e1d8f reading for Entry 2019-09-07 14:00:34 +03:00
NikVolf 03524ba7d0 entry to the dedicated module 2019-09-07 13:52:19 +03:00
Nikolay Volf 265c6e5303
Merge pull request #1 from niklasad1/na-rust2018ify
fix: use rust2018 idioms
2019-09-07 11:35:06 +03:00
Niklas Adolfsson c4f8f8ea04
fix: use rust2018 idioms 2019-09-07 10:31:01 +02:00
NikVolf 5d0aa521c2 missing deserialization bits 2019-09-07 11:19:06 +03:00
Jack Grigg bef3e7e336
Migrate ff_derive to proc-macro2 1.0 2019-09-06 19:03:12 -04:00
str4d 2b6fbfd2d1
Merge pull request #109 from str4d/paymentaddress-encapsulation
PaymentAddress encapsulation
2019-09-06 15:43:48 -04:00
NikVolf a46ace4c2d simplify tree preparation 2019-09-06 19:19:58 +03:00
NikVolf 942a976ef5 refactor numerous tests 2019-09-06 19:14:53 +03:00