Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keccak256 #47

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ halo2aggregator-s = { git = "https://github.com/DelphinusLab/halo2aggregator-s.g
halo2ecc-s = { git = "https://github.com/lanbones/halo2ecc-s.git", tag = "bisect-lookup-0.3.2"}
num-bigint = { version = "0.4", features = ["rand"] }
poseidon = { git = "https://github.com/lanbones/poseidon" }
itertools = "0.10.0"
rand = "0.8"
rand_core = "0.6"
ark-std = { version = "0.3.0", features = ["print-trace"] }
serde = { version = "1.0", features = ["serde_derive"] }
serde_json = "1.0"
Expand Down
97 changes: 97 additions & 0 deletions keccak256_test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
[
{
"op": 25,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 27,
"value": 18177167178024715000,
"is_ret": false
}
]
192 changes: 192 additions & 0 deletions keccak256_test_multi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
[
{
"op": 25,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 27,
"value": 8294454903783049230,
"is_ret": false
},
{
"op": 25,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 1,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 26,
"value": 0,
"is_ret": false
},
{
"op": 27,
"value": 12373518135833826896,
"is_ret": false
}
]
Loading