Skip to content

chore: use openvm guest library for zkvm target#4

Open
gdmlcjs wants to merge 1 commit intoopenvm/sha3-v0.11.0from
chore/sha3-v0.11.0-patch
Open

chore: use openvm guest library for zkvm target#4
gdmlcjs wants to merge 1 commit intoopenvm/sha3-v0.11.0from
chore/sha3-v0.11.0-patch

Conversation

@gdmlcjs
Copy link
Copy Markdown
Collaborator

@gdmlcjs gdmlcjs commented Apr 9, 2026

This is a patch of the sha3-0.11.0 tag that uses OpenVM at branch develop-v2.0.0-rc.1.

The internal functions for all of the hashes in sha3 (Sha3, Keccak, Shake), when compiled for ZKVM, are implemented using the OpenVM guest library openvm-keccak256-guest.
A separate test directory is added to check that using the patched version gives the correct result and indeed calls the custom Keccak opcodes.

closes INT-7393

@gdmlcjs gdmlcjs requested a review from jonathanpwang April 9, 2026 19:01
@gdmlcjs gdmlcjs self-assigned this Apr 9, 2026
Comment thread sha3/src/zkvm_impl.rs Outdated
Comment thread sha3/src/zkvm_impl.rs Outdated
@gdmlcjs gdmlcjs force-pushed the chore/sha3-v0.11.0-patch branch from 06f0d77 to f429d7d Compare April 17, 2026 23:02
@gdmlcjs gdmlcjs marked this pull request as draft April 17, 2026 23:03
@gdmlcjs gdmlcjs force-pushed the chore/sha3-v0.11.0-patch branch from f429d7d to b602904 Compare April 17, 2026 23:42
@gdmlcjs gdmlcjs marked this pull request as ready for review April 17, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants