hashes
hashes copied to clipboard
Use Intel SHA Extensions for SHA-512
New extensions have been added since #51, shipped in Arrow Lake and Lunar Lake.
https://en.wikipedia.org/wiki/Intel_SHA_extensions https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#ig_expand=4357&avxnewtechs=SHA512
Relevant issues:
- https://github.com/rust-lang/rust/issues/126624
- https://github.com/RustCrypto/utils/issues/1112
Also Intel has added SM3 in the same update. #329
The sha512 target feature will be stable in Rust 1.89: https://github.com/rust-lang/rust/pull/140767