-/* $OpenBSD: des_enc.c,v 1.18 2024/08/31 16:01:18 jsing Exp $ */
+/* $OpenBSD: des_enc.c,v 1.19 2024/08/31 16:04:22 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
},
};
-#ifndef OPENBSD_DES_ASM
-
void
DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc)
{
}
LCRYPTO_ALIAS(DES_encrypt2);
-#endif /* OPENBSD_DES_ASM */
-
void
DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1,
DES_key_schedule *ks2, DES_key_schedule *ks3)
-/* $OpenBSD: des_fcrypt.c,v 1.1 2024/08/31 15:56:09 jsing Exp $ */
+/* $OpenBSD: des_fcrypt.c,v 1.2 2024/08/31 16:04:22 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
#include "des_local.h"
#undef DES_FCRYPT
-#ifndef OPENBSD_DES_ASM
-
#undef PERM_OP
#define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)), \
(b)^=(t), \
out[1] = l;
}
-#endif /* OPENBSD_DES_ASM */
-
/* Added more values to handle illegal salt values the way normal
* crypt() implementations do. The patch was sent by
* Bjorn Gronvall <bg@sics.se>