_mm_sha1rnds4_epu32 in core::arch::x86_64 - Rust
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.

Skip to main content

## _mm_sha1rnds4_epu32

# Function _mm_sha1rnds4_epu32

1.27.0 · Source

    pub fn _mm_sha1rnds4_epu32(a: __m128i, b: __m128i, const FUNC: i32) -> __m128i

Available on x86-64 and target feature `sha` 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