aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-15 17:35:55 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-15 17:35:55 +0200
commit2a4da2ebd3aafce3c98d49f3840ca743a93d42a9 (patch)
tree1ddedf0a192b38a30db3873b575bc66b150604ac /c
parent512be590e9e18f37d2e285d267ffbc16fdd8a694 (diff)
Format code
Diffstat (limited to 'c')
-rw-r--r--c/sha1/sha1-x86.c16
1 files changed, 8 insertions, 8 deletions
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