hashes icon indicating copy to clipboard operation
hashes copied to clipboard

Use Intel SHA Extensions for SHA-512

Open selfisekai opened this issue 1 year ago • 3 comments

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

selfisekai avatar Dec 19 '24 21:12 selfisekai

Relevant issues:

  • https://github.com/rust-lang/rust/issues/126624
  • https://github.com/RustCrypto/utils/issues/1112

newpavlov avatar Dec 19 '24 21:12 newpavlov

Also Intel has added SM3 in the same update. #329

Testsr avatar Apr 27 '25 22:04 Testsr

The sha512 target feature will be stable in Rust 1.89: https://github.com/rust-lang/rust/pull/140767

tarcieri avatar Jul 23 '25 02:07 tarcieri