nimcrypto icon indicating copy to clipboard operation
nimcrypto copied to clipboard

Add hardware-accelerated implementation of SHA256

Open zah opened this issue 4 years ago • 1 comments

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

zah avatar Feb 24 '20 15:02 zah

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

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

mratsim avatar Jun 05 '20 17:06 mratsim