From 5c4a7673b50126c30099eeb12fc2eaa27209f341 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Mon, 9 Jun 2025 16:42:25 +0200 Subject: Remove MI constants which now live in other headers --- include/arch/loongarch64/opensslconf.h | 32 -------------------------------- include/arch/mips/opensslconf.h | 32 -------------------------------- 2 files changed, 64 deletions(-) (limited to 'include/arch') diff --git a/include/arch/loongarch64/opensslconf.h b/include/arch/loongarch64/opensslconf.h index 59555fa..3aaa6bd 100644 --- a/include/arch/loongarch64/opensslconf.h +++ b/include/arch/loongarch64/opensslconf.h @@ -1,9 +1,4 @@ #include -/* crypto/opensslconf.h.in */ - -#if defined(HEADER_CRYPTO_LOCAL_H) && !defined(OPENSSLDIR) -#define OPENSSLDIR "/etc/ssl" -#endif #undef OPENSSL_EXPORT_VAR_AS_FUNCTION @@ -17,26 +12,7 @@ #endif #endif -#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) -#define IDEA_INT unsigned int -#endif - -#if defined(HEADER_RC2_H) && !defined(RC2_INT) -/* I need to put in a mod for the alpha - eay */ -#define RC2_INT unsigned int -#endif - #if defined(HEADER_RC4_H) -#if !defined(RC4_INT) -/* using int types make the structure larger but make the code faster - * on most boxes I have tested - up to %20 faster. */ -/* - * I don't know what does "most" mean, but declaring "int" is a must on: - * - Intel P6 because partial register stalls are very expensive; - * - elder Alpha because it lacks byte load/store instructions; - */ -#define RC4_INT unsigned int -#endif #if !defined(RC4_CHUNK) /* * This enables code handling data aligned at natural CPU word @@ -46,14 +22,6 @@ #endif #endif -#if defined(HEADER_DES_H) && !defined(DES_LONG) -/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a - * %20 speed up (longs are 8 bytes, int's are 4). */ -#ifndef DES_LONG -#define DES_LONG unsigned int -#endif -#endif - #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) #define CONFIG_HEADER_BN_H #undef BN_LLONG diff --git a/include/arch/mips/opensslconf.h b/include/arch/mips/opensslconf.h index 576f49b..ee21113 100644 --- a/include/arch/mips/opensslconf.h +++ b/include/arch/mips/opensslconf.h @@ -1,9 +1,4 @@ #include -/* crypto/opensslconf.h.in */ - -#if defined(HEADER_CRYPTO_LOCAL_H) && !defined(OPENSSLDIR) -#define OPENSSLDIR "/etc/ssl" -#endif #undef OPENSSL_EXPORT_VAR_AS_FUNCTION @@ -17,26 +12,7 @@ #endif #endif -#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) -#define IDEA_INT unsigned int -#endif - -#if defined(HEADER_RC2_H) && !defined(RC2_INT) -/* I need to put in a mod for the alpha - eay */ -#define RC2_INT unsigned int -#endif - #if defined(HEADER_RC4_H) -#if !defined(RC4_INT) -/* using int types make the structure larger but make the code faster - * on most boxes I have tested - up to %20 faster. */ -/* - * I don't know what does "most" mean, but declaring "int" is a must on: - * - Intel P6 because partial register stalls are very expensive; - * - elder Alpha because it lacks byte load/store instructions; - */ -#define RC4_INT unsigned int -#endif #if !defined(RC4_CHUNK) /* * This enables code handling data aligned at natural CPU word @@ -46,14 +22,6 @@ #endif #endif -#if defined(HEADER_DES_H) && !defined(DES_LONG) -/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a - * %20 speed up (longs are 8 bytes, int's are 4). */ -#ifndef DES_LONG -#define DES_LONG unsigned int -#endif -#endif - #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) #define CONFIG_HEADER_BN_H #define BN_LLONG -- cgit v1.2.3-55-g6feb