Jump to content

SHA instruction set

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hexware (talk | contribs) at 14:49, 8 July 2023 (Mention that SHA-1 and SHA-256 forms also come in AVX flavor). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Intel SHA Extensions are a set of extensions to the x86 instruction set architecture which support hardware acceleration of Secure Hash Algorithm (SHA) family. It was introduced in 2013. Instructions for SHA-512 will be introduced in Arrow Lake and Lunar Lake in 2024.

The original SSE-based extensions added four instructions supporting SHA-1 and three for SHA-256. AVX-based versions are also available with a V prefix.

  • SHA-1: SHA1RNDS4, SHA1NEXTE, SHA1MSG1, SHA1MSG2
  • SHA-256: SHA256RNDS2, SHA256MSG1, SHA256MSG2

The AVX-based extensions added three for SHA-512.

  • VSHA512RNDS2, VSHA512MSG1, VSHA512MSG2

x86 architecture processors

Intel

The following Intel processors support the original SHA instruction set:

The following Intel processors will support the newer SHA-512 instruction set:

AMD

Several AMD processors support the original SHA instruction set:

  • AMD Zen (and later) processors.[3]

References

  1. ^ "Goldmont - Microarchitectures - Intel - WikiChip". en.wikichip.org. Retrieved 2020-06-26.
  2. ^ "Ice Lake (client) - Microarchitectures - Intel - WikiChip". en.wikichip.org. Retrieved 2020-06-26.
  3. ^ "Zen - Microarchitectures - AMD - WikiChip". en.wikichip.org. Retrieved 2020-06-26.