diff options
Diffstat (limited to 'src/lib/libcrypto/des/fcrypt_b.c')
| -rw-r--r-- | src/lib/libcrypto/des/fcrypt_b.c | 3 |
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 1390138787..c56b461e91 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),\ |
| @@ -143,3 +145,4 @@ void fcrypt_body(DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0, | |||
| 143 | out[1]=l; | 145 | out[1]=l; |
| 144 | } | 146 | } |
| 145 | 147 | ||
| 148 | #endif /* OPENBSD_DES_ASM */ | ||
