summaryrefslogtreecommitdiffstats
path: root/crypto/rc4/rc4_locl.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-11-21 10:36:25 +0000
committerAndy Polyakov <appro@openssl.org>2004-11-21 10:36:25 +0000
commit376729e1301f82a8f20ce78f36b7107c75720a7c (patch)
tree85c5a915d6d75b5de41f0926c47ab39d6a0f6c23 /crypto/rc4/rc4_locl.h
parent00dd8f6d6e703dadab3c50af84ed55ffff598ddc (diff)
RC4 tune-up for Intel P4 core, both 32- and 64-bit ones. As it's
apparently impossible to compose blended code with would perform satisfactory on all x86 and x86_64 cores, an extra RC4_CHAR code-path is introduced and P4 core is detected at run-time. This way we keep original performance on non-P4 implementations and turbo-charge P4 performance by factor of 2.8x (on 32-bit core).
Diffstat (limited to 'crypto/rc4/rc4_locl.h')
-rw-r--r--crypto/rc4/rc4_locl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/rc4/rc4_locl.h b/crypto/rc4/rc4_locl.h
index 3bb80b6ce9..c712e1632e 100644
--- a/crypto/rc4/rc4_locl.h
+++ b/crypto/rc4/rc4_locl.h
@@ -1,4 +1,5 @@
#ifndef HEADER_RC4_LOCL_H
#define HEADER_RC4_LOCL_H
#include <openssl/opensslconf.h>
+#include <cryptlib.h>
#endif