core::arch::x86_64

Function _mm_sha1rnds4_epu32

1.27.0 · Source
pub unsafe fn _mm_sha1rnds4_epu32(
    a: __m128i,
    b: __m128i,
    const FUNC: i32,
) -> __m128i
Available on (x86 or x86-64) and target feature sha and x86-64 only.
Expand description

Performs four rounds of SHA1 operation using an initial SHA1 state (A,B,C,D) from a and some pre-computed sum of the next 4 round message values (unsigned 32-bit integers), and state variable E from b, and return the updated SHA1 state (A,B,C,D). FUNC contains the logic functions and round constants.

Intel’s documentation