From 2a4da2ebd3aafce3c98d49f3840ca743a93d42a9 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 15 Aug 2024 17:35:55 +0200 Subject: Format code --- c/sha1/sha1-x86.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'c/sha1') diff --git a/c/sha1/sha1-x86.c b/c/sha1/sha1-x86.c index 2fcf7d8..fb0f3ef 100644 --- a/c/sha1/sha1-x86.c +++ b/c/sha1/sha1-x86.c @@ -71,14 +71,14 @@ sha1end(sha1_t *s, uint8_t dgst[SHA1DGSTSZ]) ((uint32_t *)dgst)[i] = htobe32(s->dgst[i]); } -#define R(mi, mj, mk, ml, ei, ej, f) \ - do { \ - ei = _mm_sha1nexte_epu32(ei, mi); \ - ej = abcd; \ - mj = _mm_sha1msg2_epu32(mj, mi); \ - abcd = _mm_sha1rnds4_epu32(abcd, ei, f); \ - ml = _mm_sha1msg1_epu32(ml, mi); \ - mk = _mm_xor_si128(mk, mi); \ +#define R(mi, mj, mk, ml, ei, ej, f) \ + do { \ + ei = _mm_sha1nexte_epu32(ei, mi); \ + ej = abcd; \ + mj = _mm_sha1msg2_epu32(mj, mi); \ + abcd = _mm_sha1rnds4_epu32(abcd, ei, f); \ + ml = _mm_sha1msg1_epu32(ml, mi); \ + mk = _mm_xor_si128(mk, mi); \ } while (0) static void -- cgit v1.2.3