From f2e7f82092666c2db43eabf2b03e07e5e66368b8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 26 Aug 2024 21:04:58 +0200 Subject: Style fixes --- src/sha1-x64.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/sha1-x64.c b/src/sha1-x64.c index be19ab7..ad82b6e 100644 --- a/src/sha1-x64.c +++ b/src/sha1-x64.c @@ -29,11 +29,9 @@ sha1hashblk(sha1_t *s, const uint8_t *blk) const __m128i *blkx = (const __m128i *)blk; - abcd = _mm_shuffle_epi32(_mm_loadu_si128((__m128i *)s->dgst), bswapdmsk); - e0 = _mm_set_epi32(s->dgst[4], 0, 0, 0); - - abcd_save = abcd; - e_save = e0; + abcd_save = abcd = + _mm_shuffle_epi32(_mm_loadu_si128((__m128i *)s->dgst), bswapdmsk); + e_save = e0 = _mm_set_epi32(s->dgst[4], 0, 0, 0); /* Rounds 0–3 */ msg0 = _mm_shuffle_epi8(_mm_loadu_si128(blkx + 0), bswapbmsk); -- cgit v1.2.3