summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/fcrypt_b.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/des/fcrypt_b.c')
-rw-r--r--src/lib/libcrypto/des/fcrypt_b.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/libcrypto/des/fcrypt_b.c b/src/lib/libcrypto/des/fcrypt_b.c
index 8822816938..87fc71eb26 100644
--- a/src/lib/libcrypto/des/fcrypt_b.c
+++ b/src/lib/libcrypto/des/fcrypt_b.c
@@ -68,6 +68,8 @@
68#include "des_locl.h" 68#include "des_locl.h"
69#undef DES_FCRYPT 69#undef DES_FCRYPT
70 70
71#ifndef OPENBSD_DES_ASM
72
71#undef PERM_OP 73#undef PERM_OP
72#define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\ 74#define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\
73 (b)^=(t),\ 75 (b)^=(t),\
@@ -141,3 +143,4 @@ void fcrypt_body(DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0,
141 out[1]=l; 143 out[1]=l;
142 } 144 }
143 145
146#endif /* OPENBSD_DES_ASM */