_mm_sha256msg1_epu32
Classification
Other, Cryptography, CPUID Test: SHA
Header File
Instruction
SHA256MSG1 xmm, xmm
Synopsis
_mm_sha256msg1_epu32(__m128i a, __m128i b);
Description
Perform an intermediate calculation for the next four SHA256 message values (unsigned 32-bit integers) using previous message values from "a" and "b", and store the result in "dst".
Operation
W4 := b[31:0]
W3 := a[127:96]
W2 := a[95:64]
W1 := a[63:32]
W0 := a[31:0]
dst[127:96] := W3 + sigma0(W4)
dst[95:64] := W2 + sigma0(W3)
dst[63:32] := W1 + sigma0(W2)
dst[31:0] := W0 + sigma0(W1)