optimism icon indicating copy to clipboard operation
optimism copied to clipboard

kona-sp1: Ensure expensive operations are offloaded to the host

Open Inphi opened this issue 3 weeks ago • 0 comments

For evm operations, the kona-sp1 program installs a custom implementation of cryptographic operations via revm hooks. The custom implementation is optimized for the sp1 zkVM. However, there are still a couple areas where the program runs keccak and sha2 outside the evm. We need to ensure that these don't use native riscv implementations, but utilize the sp1 host via its syscall interface.

Inphi avatar Dec 07 '25 06:12 Inphi