summaryrefslogtreecommitdiff
path: root/lib/libcrypto/des/des_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/des/des_enc.c')
-rw-r--r--lib/libcrypto/des/des_enc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libcrypto/des/des_enc.c b/lib/libcrypto/des/des_enc.c
index 6a49ec4a550..53705b9f5be 100644
--- a/lib/libcrypto/des/des_enc.c
+++ b/lib/libcrypto/des/des_enc.c
@@ -58,9 +58,6 @@
#include "des_locl.h"
-#ifndef OPENSSL_FIPS
-#ifndef OPENBSD_DES_ASM
-
void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc)
{
register DES_LONG l,r,t,u;
@@ -291,12 +288,8 @@ void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1,
data[1]=r;
}
-#endif /* ndef OPENSSL_FIPS */
-
#ifndef DES_DEFAULT_OPTIONS
-#if !defined(OPENSSL_FIPS_DES_ASM)
-
#undef CBC_ENC_C__DONT_UPDATE_IV
#include "ncbc_enc.c" /* DES_ncbc_encrypt */
@@ -412,6 +405,4 @@ void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output,
tin[0]=tin[1]=0;
}
-#endif /* !defined(OPENSSL_FIPS_DES_ASM) */
-
#endif /* DES_DEFAULT_OPTIONS */