aboutsummaryrefslogtreecommitdiff
path: root/c/sha1
diff options
context:
space:
mode:
Diffstat (limited to 'c/sha1')
-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