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

Add hardware-accelerated implementation of SHA256 #36

Open
zah opened this issue Feb 24, 2020 · 1 comment
Open

Add hardware-accelerated implementation of SHA256 #36

zah opened this issue Feb 24, 2020 · 1 comment

Comments

@zah
Copy link
Contributor

zah commented Feb 24, 2020

Most modern CPUs offer specialized instructions for computing the SHA family of functions. For optimal power usage and maximum throughput in SSZ merkleization, we can benefit from such a hardware-accelerated implementation in Nimcrypto.

Existing code in other languages:
https://github.com/noloader/SHA-Intrinsics
https://github.com/minio/sha256-simd

@mratsim
Copy link
Contributor

mratsim commented Jun 5, 2020

Code from a cryptographer (and also co-author in hash-to-curve draft)

https://github.com/armfazh/flo-shani-aesni

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

2 participants