aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bf
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-21 17:31:05 +0000
committerUlf Möller <ulf@openssl.org>1999-04-21 17:31:05 +0000
commit8e10f2b3ac1cb5ba9de832981ce32ac49c71fdee (patch)
treee47416b5a59301c6506e6db838687370ab3e9556 /crypto/bf
parentcb145b995bb7d8afedb4acefc828e23617563d1c (diff)
downloadopenssl-8e10f2b3ac1cb5ba9de832981ce32ac49c71fdee.tar.gz
Move all autogenerated header file parts to crypto/opensslconf.h.
Diffstat (limited to 'crypto/bf')
-rw-r--r--crypto/bf/bf_locl.h (renamed from crypto/bf/bf_locl.org)34
1 files changed, 5 insertions, 29 deletions
diff --git a/crypto/bf/bf_locl.org b/crypto/bf/bf_locl.h
index bd62084032..418ff04fde 100644
--- a/crypto/bf/bf_locl.org
+++ b/crypto/bf/bf_locl.h
@@ -56,27 +56,9 @@
* [including the GNU Public Licence.]
*/
-/* WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
- *
- * Always modify bf_locl.org since bf_locl.h is automatically generated from
- * it during SSLeay configuration.
- *
- * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
- */
-
-/* Special defines which change the way the code is built depending on the
- CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
- even newer MIPS CPU's, but at the moment one size fits all for
- optimization options. Older Sparc's work better with only UNROLL, but
- there's no way to tell at compile time what it is you're running on */
-
-#if defined( sun ) /* Newer Sparc's */
-# define BF_PTR
-#elif defined( __ultrix ) /* Older MIPS */
-# define BF_PTR
-#elif defined( __sgi ) /* Newer MIPS */
-# define BF_PTR
-#endif /* Systems-specific speed defines */
+#ifndef _HEADER_BF_LOCL_H
+#define _HEADER_BF_LOCL_H
+#include "opensslconf.h" /* BF_PTR, BF_PTR2 */
#undef c2l
#define c2l(c,l) (l =((unsigned long)(*((c)++))) , \
@@ -169,14 +151,6 @@
/* This is actually a big endian algorithm, the most significate byte
* is used to lookup array 0 */
-/* use BF_PTR2 for intel boxes,
- * BF_PTR for sparc and MIPS/SGI
- * use nothing for Alpha and HP.
- */
-#if !defined(BF_PTR) && !defined(BF_PTR2)
-#undef BF_PTR
-#endif
-
#define BF_M 0x3fc
#define BF_0 22L
#define BF_1 14L
@@ -228,3 +202,5 @@
S[0x0200+((int)(R>> 8L)&0xff)])+ \
S[0x0300+((int)(R )&0xff)])&0xffffffffL;
#endif
+
+#endif