[OpenSSL-3.0LTS] TNF HEAD enables ec_nistp_64_gcc_128 on alpha/ia64/powerpc64
see crypto/external/bsd/openssl/lib/libcrypto/arch/*/ec.inc
Comments (11)
-
reporter -
reporter why aarch64/mips64/x86_64 aren’t enabling?
-
reporter gcc-4.5.3 supports __uint128_t.
-
reporter 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.
hmm, at least powerpc64 is BE, why enabling this????
-
reporter - marked as minor
- marked as enhancement
-
reporter -
reporter mips64 is 32bit(-mabi=n32), not 64bit(-mabi=64, N HEAD introduce mipsn64 arch) so it’s ok without ec_nistp_64_gcc_128.
-
reporter gcc-4.5.3 supports __uint128_t but build fail with error.
-
reporter #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 # ifdef B_ENDIAN # error "Can not enable ec_nistp_64_gcc_128 on big-endian systems" # endif
-
reporter powerpc64 is basically bi-endian cpu(so Configure never defined B_ENDIAN), but macppc and evbppc is BE.
-
reporter evbppc/macppc can build with powerpc64 but TNF only releases powerpc32 binary.
- Log in to comment
this option enables optimization by using GCC’s
__uint128_t
on 64bit arch. Compilation and Installation - OpenSSLWiki