From 83040d7d86966b2e2b15774b0e1206623ee7bd7c Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Wed, 21 Dec 2016 15:23:00 +0100 Subject: [PATCH] OpenSSL x86_64: enable NIST 64-bit optimization On a 64-bit system, enabling the OpenSSL NIST 64-bit optimization should result in considerable speed improvements when using curves: NIST-P224, NIST-P256, and NIST-P521. Additionally it avoids that Tor complains about having an OpenSSL that lacks this feature. Ref #2193 --- .../src/lib/openssl/spec/x86_64/openssl/opensslconf.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/repos/libports/src/lib/openssl/spec/x86_64/openssl/opensslconf.h b/repos/libports/src/lib/openssl/spec/x86_64/openssl/opensslconf.h index 6f90d333bc..a6781a8dab 100644 --- a/repos/libports/src/lib/openssl/spec/x86_64/openssl/opensslconf.h +++ b/repos/libports/src/lib/openssl/spec/x86_64/openssl/opensslconf.h @@ -5,9 +5,6 @@ #ifndef OPENSSL_DOING_MAKEDEPEND -#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -# define OPENSSL_NO_EC_NISTP_64_GCC_128 -#endif #ifndef OPENSSL_NO_GMP # define OPENSSL_NO_GMP #endif @@ -47,9 +44,6 @@ who haven't had the time to do the appropriate changes in their applications. */ #ifdef OPENSSL_ALGORITHM_DEFINES -# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) -# define NO_EC_NISTP_64_GCC_128 -# endif # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) # define NO_GMP # endif