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

SHA3_512 reference code seems to not give a valid hash #396

Open
amitch1999 opened this issue Jan 7, 2025 · 0 comments
Open

SHA3_512 reference code seems to not give a valid hash #396

amitch1999 opened this issue Jan 7, 2025 · 0 comments

Comments

@amitch1999
Copy link

Has anyone run the sha3 test lately?
I've used my own test file, compiled with llvm 18.1.7, using a different build system and running on whisper ISS,
and when linking with the reference version of the sha3 library, I get a different hash compared to online hash tools and python's hashlib.
When I link with the zscrypto_rv64 version, I do get the same hash compared to other tools.

Also, I wonder how the rv64-zscrypto.conf configuration is different rv64-baseline.conf except for the -D__ZSCRYPTO=1 definition.
I guess that file was not updated in 5 years, so it will not work with a newer toolchain, as I don't see the Zk extensions getting added to the -march= anywhere.

Anyhow, did someone run the sha3 test recently and did it pass?

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

No branches or pull requests

1 participant