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

perf: replace tiny-keccak with sha3 #54

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

xJonathanLEI
Copy link
Contributor

@xJonathanLEI xJonathanLEI commented Sep 14, 2024

On block 20600000 cycle count drops from 337,505,411 to 319,093,314, or around 5.4%.

@@ -23,3 +23,4 @@ sha2 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", branch = "pat
ecdsa-core = { git = "https://github.com/sp1-patches/signatures", package = "ecdsa", branch = "patch-ecdsa-v0.16.9" }
tiny-keccak = { git = "https://github.com/sp1-patches/tiny-keccak", branch = "patch-v2.0.2" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we're using sha3 instead of tiny-keccak, why do we still need tiny-keccak?

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