diff options
author | kris <kris@FreeBSD.org> | 2000-04-13 07:37:35 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-04-13 07:37:35 +0000 |
commit | ec2fce6561acc24cb60670f6f4601e0c29f5f3fa (patch) | |
tree | 94e6e7ec17a8f3ec05eed7acdf199968cbd2bd8a /secure/lib/libcrypto/opensslconf-i386.h | |
parent | 4e4529727ed9af5fe3f6bb398c0e80c1d6ff2368 (diff) | |
download | FreeBSD-src-ec2fce6561acc24cb60670f6f4601e0c29f5f3fa.zip FreeBSD-src-ec2fce6561acc24cb60670f6f4601e0c29f5f3fa.tar.gz |
Update for OpenSSL 0.9.5a and clean up a bit.
Diffstat (limited to 'secure/lib/libcrypto/opensslconf-i386.h')
-rw-r--r-- | secure/lib/libcrypto/opensslconf-i386.h | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/secure/lib/libcrypto/opensslconf-i386.h b/secure/lib/libcrypto/opensslconf-i386.h index d80b68f..fc3cf04 100644 --- a/secure/lib/libcrypto/opensslconf-i386.h +++ b/secure/lib/libcrypto/opensslconf-i386.h @@ -1,7 +1,24 @@ /* $FreeBSD$ */ +/* opensslconf.h */ -/* crypto/opensslconf.h */ -/* WARNING: This file is autogenerated by Configure */ +/* WARNING: Generated automatically from opensslconf.h.in by Configure. */ + +/* OpenSSL was configured with the following options: */ +#ifdef OPENSSL_ALGORITHM_DEFINES + /* no ciphers excluded */ +#endif +#ifdef OPENSSL_THREAD_DEFINES +# ifndef THREADS +# define THREADS +# endif +#endif +#ifdef OPENSSL_OTHER_DEFINES +# ifndef NO_ASM +# define NO_ASM +# endif +#endif + +/* crypto/opensslconf.h.in */ /* Generate 80386 code? */ #undef I386_ONLY @@ -27,11 +44,25 @@ #define RC2_INT unsigned int #endif -#if defined(HEADER_RC4_H) && !defined(RC4_INT) +#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 + * boundary. See crypto/rc4/rc4_enc.c for further details. + */ +#undef RC4_CHUNK +#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 |