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.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libcrypto/des/fcrypt_b.c b/src/lib/libcrypto/des/fcrypt_b.c
index 193ea34957..58c9bc34c5 100644
--- a/src/lib/libcrypto/des/fcrypt_b.c
+++ b/src/lib/libcrypto/des/fcrypt_b.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: fcrypt_b.c,v 1.11 2023/07/08 07:11:07 beck Exp $ */ 1/* $OpenBSD: fcrypt_b.c,v 1.12 2023/07/08 07:34:34 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 *
@@ -98,13 +98,11 @@ fcrypt_body(DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0,
98 E0 = Eswap0; 98 E0 = Eswap0;
99 E1 = Eswap1; 99 E1 = Eswap1;
100 100
101 for (j = 0; j < 25; j++) 101 for (j = 0; j < 25; j++) {
102 {
103#ifndef DES_UNROLL 102#ifndef DES_UNROLL
104 int i; 103 int i;
105 104
106 for (i = 0; i < 32; i += 4) 105 for (i = 0; i < 32; i += 4) {
107 {
108 D_ENCRYPT(l, r, i + 0); /* 1 */ 106 D_ENCRYPT(l, r, i + 0); /* 1 */
109 D_ENCRYPT(r, l, i + 2); /* 2 */ 107 D_ENCRYPT(r, l, i + 2); /* 2 */
110 } 108 }