summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/des_fcrypt.c
diff options
context:
space:
mode:
authorjsing <>2024-08-31 16:17:13 +0000
committerjsing <>2024-08-31 16:17:13 +0000
commit70eebda78549a323c4608f8edfe9bd332ad13111 (patch)
tree9814ebed1a79b15188f1dc92c3d42699303c4c9d /src/lib/libcrypto/des/des_fcrypt.c
parentef3851a6adc6098adccc7dac9c2e90961097b49b (diff)
downloadopenbsd-70eebda78549a323c4608f8edfe9bd332ad13111.tar.gz
openbsd-70eebda78549a323c4608f8edfe9bd332ad13111.tar.bz2
openbsd-70eebda78549a323c4608f8edfe9bd332ad13111.zip
Unifdef DES_PTR, DES_RISC1 and DES_RISC2.
These are all go fast knobs that convolute the code and can be dangerous. Lets presume that we have a modern and somewhat capable C compiler instead. ok tb@
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/des/des_fcrypt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/des/des_fcrypt.c b/src/lib/libcrypto/des/des_fcrypt.c
index 4d06a79794..049040b184 100644
--- a/src/lib/libcrypto/des/des_fcrypt.c
+++ b/src/lib/libcrypto/des/des_fcrypt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: des_fcrypt.c,v 1.2 2024/08/31 16:04:22 jsing Exp $ */ 1/* $OpenBSD: des_fcrypt.c,v 1.3 2024/08/31 16:17:13 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -89,9 +89,6 @@ fcrypt_body(DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0,
89 DES_LONG Eswap1) 89 DES_LONG Eswap1)
90{ 90{
91 DES_LONG l, r, t, u; 91 DES_LONG l, r, t, u;
92#ifdef DES_PTR
93 const unsigned char *des_SP = (const unsigned char *)DES_SPtrans;
94#endif
95 DES_LONG *s; 92 DES_LONG *s;
96 int j; 93 int j;
97 DES_LONG E0, E1; 94 DES_LONG E0, E1;