aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2024-08-26 21:04:58 +0200
committerThomas Voss <thomas.voss@humanwave.nl> 2024-08-26 21:04:58 +0200
commitf2e7f82092666c2db43eabf2b03e07e5e66368b8 (patch)
tree37cb17152bc0bdeba15e5caae06541d631e2cb86 /src
parent163a9d2422828460091f5b5d63e2c42b5040609c (diff)
Style fixes
Diffstat (limited to 'src')
-rw-r--r--src/sha1-x64.c8
1 files changed, 3 insertions, 5 deletions
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);