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

feat: Blake2s round precompile #176

Merged
merged 30 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e46abeb
chore: Empty precompile
storojs72 Sep 9, 2024
c02b200
chore: working XOR operation
storojs72 Sep 10, 2024
734909c
chore: Fix event's lookup_id insertion to nonce_lookup
storojs72 Sep 10, 2024
f6516d5
chore: Working XOR operation for 4 u32 words
storojs72 Sep 11, 2024
04a153a
chore: Add computation result writing to the memory
storojs72 Sep 11, 2024
e52394d
chore: Inject R_D, R_B constants into memory layout
storojs72 Sep 11, 2024
51d5d6e
chore: Rename Empty to Blake2sXorRotateRight precompile
storojs72 Sep 11, 2024
b1831c6
chore: Add integration test for BLAKE2S_XOR_ROTATE_RIGHT precompile
storojs72 Sep 11, 2024
121b819
feat: More optimal Blake2s XOR right-rotate syscall
storojs72 Sep 13, 2024
2745524
feat: Syscall for add2 computation
storojs72 Sep 16, 2024
856226f
feat: Syscall for add3 computing
storojs72 Sep 16, 2024
b41f2c8
feat: Syscalls for xor_right_rotate_{16, 12}
storojs72 Sep 16, 2024
d176cb9
feat: Syscall for xor_right-rotate_8 computation
storojs72 Sep 16, 2024
d507467
feat: Syscall for xor_right_rotate_7 computation
storojs72 Sep 16, 2024
892bafb
feat: Add QuarterRound syscall
storojs72 Sep 17, 2024
462e28e
feat: Update quarter_round syscall to quarter_round_2x
storojs72 Sep 18, 2024
72a44ac
feat: Add shuffle operation/constraints to quarter_round_2x chip
storojs72 Sep 18, 2024
5535a82
chore: Don't update hybryd-array dependency
storojs72 Sep 19, 2024
096e4d0
chore: Revert shuffling
storojs72 Sep 19, 2024
26c0b66
chore: Return shuffling
storojs72 Sep 19, 2024
3765d4a
chore: Formatting
storojs72 Sep 19, 2024
7f97a4c
feat: Add 2 more quarter rounds
storojs72 Sep 19, 2024
5263783
feat: Add unshuffle operation
storojs72 Sep 19, 2024
48f2266
feat: Blake2s round syscall testing with randomized input
storojs72 Sep 20, 2024
c97c043
chore: Split round syscall implementation to multiple source files
storojs72 Sep 23, 2024
04fa3d1
chore: Cleanup
storojs72 Sep 23, 2024
b4c74f8
chore: Clippy
storojs72 Sep 23, 2024
6c41a9b
ci: Fixing check-downstream-compile(loam) job
storojs72 Sep 23, 2024
35085fb
feat: Introduce Add3 operation
storojs72 Sep 23, 2024
430087a
chore: Address feedback
storojs72 Sep 24, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
- repo: zk-light-clients
path: ethereum
features: ethereum
- repo: loam
- repo: lurk
path: ""
steps:
- uses: actions/checkout@v4
Expand Down
Loading