aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sha_x86/asm_macr.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sha_x86/asm_macr.h')
-rw-r--r--modules/sha_x86/asm_macr.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/sha_x86/asm_macr.h b/modules/sha_x86/asm_macr.h
index f72f61119..02967c4e0 100644
--- a/modules/sha_x86/asm_macr.h
+++ b/modules/sha_x86/asm_macr.h
@@ -50,9 +50,8 @@ func_name:
#define ADD2_IMM(TO, FROM, NUM) leal NUM(FROM), TO
#define XOR(TO, FROM) xorl FROM, TO
-
-#define AND(FROM, TO) andl FROM, TO
-#define OR(FROM, TO) orl FROM, TO
+#define AND(TO, FROM) andl FROM, TO
+#define OR(TO, FROM) orl FROM, TO
#define ZEROIZE(REG) XOR(REG, REG)
#define ROTL_IMM(REG, NUM) roll IMM(NUM), REG