summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/sha1/sha1block_386.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/sha1/sha1block_386.s')
-rw-r--r--src/pkg/crypto/sha1/sha1block_386.s10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/pkg/crypto/sha1/sha1block_386.s b/src/pkg/crypto/sha1/sha1block_386.s
index 890b3ae81..688851c31 100644
--- a/src/pkg/crypto/sha1/sha1block_386.s
+++ b/src/pkg/crypto/sha1/sha1block_386.s
@@ -46,12 +46,10 @@
ADDL DI, e
#define FUNC1(a, b, c, d, e) \
- MOVL b, SI; \
- ANDL c, SI; \
- MOVL b, DI; \
- NOTL DI; \
- ANDL d, DI; \
- ORL SI, DI
+ MOVL d, DI; \
+ XORL c, DI; \
+ ANDL b, DI; \
+ XORL d, DI
#define FUNC2(a, b, c, d, e) \
MOVL b, DI; \