Skip to content

openssl: various build optimizations

Ghost User requested to merge EmersonBernier/openssl_optimize into 18.08
  • enable-ec_nistp_64_gcc_128:

Use on little endian platforms when GCC supports __uint128_t. ECDH is about 2 to 4 times faster. Not enabled by default because Configure can't determine it. Enable it if your compiler defines SIZEOF_INT128, the CPU is little endian and it tolerates unaligned data access.

https://wiki.openssl.org/index.php/Compilation_and_Installation

  • -Wa,--noexecstack: Remove executable stack from libcrypto.so.1.0.0

  • ${CFLAGS} ${LDFLAGS}: Use buildflags from environment for openssl1.0

Edited by Emerson Bernier

Merge request reports