summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/des/des_fcrypt.c4
-rw-r--r--src/lib/libcrypto/des/des_local.h5
2 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libcrypto/des/des_fcrypt.c b/src/lib/libcrypto/des/des_fcrypt.c
index 049040b184..b33b1240c2 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.3 2024/08/31 16:17:13 jsing Exp $ */ 1/* $OpenBSD: des_fcrypt.c,v 1.4 2024/08/31 16:22:18 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 *
@@ -84,7 +84,7 @@
84#define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)), \ 84#define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)), \
85 (a)=(a)^(t)^(t>>(16-(n)))) \ 85 (a)=(a)^(t)^(t>>(16-(n)))) \
86 86
87void 87static void
88fcrypt_body(DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0, 88fcrypt_body(DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0,
89 DES_LONG Eswap1) 89 DES_LONG Eswap1)
90{ 90{
diff --git a/src/lib/libcrypto/des/des_local.h b/src/lib/libcrypto/des/des_local.h
index 9a0d366028..61bfde7520 100644
--- a/src/lib/libcrypto/des/des_local.h
+++ b/src/lib/libcrypto/des/des_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: des_local.h,v 1.4 2024/08/31 16:17:13 jsing Exp $ */ 1/* $OpenBSD: des_local.h,v 1.5 2024/08/31 16:22:18 jsing Exp $ */
2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -217,9 +217,6 @@ ROTATE(uint32_t a, uint32_t n)
217 217
218extern const DES_LONG DES_SPtrans[8][64]; 218extern const DES_LONG DES_SPtrans[8][64];
219 219
220void fcrypt_body(DES_LONG *out, DES_key_schedule *ks,
221 DES_LONG Eswap0, DES_LONG Eswap1);
222
223#ifdef OPENSSL_SMALL_FOOTPRINT 220#ifdef OPENSSL_SMALL_FOOTPRINT
224#undef DES_UNROLL 221#undef DES_UNROLL
225#endif 222#endif