[OpenSSL-3.0LTS] TNF HEAD enables ec_nistp_64_gcc_128 on alpha/ia64/powerpc64

Issue #370 new
Takehiko NOZAKI repo owner created an issue

see crypto/external/bsd/openssl/lib/libcrypto/arch/*/ec.inc

Comments (11)

  1. Takehiko NOZAKI 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????

  2. Takehiko NOZAKI 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.

  3. Takehiko NOZAKI 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
    

  4. Takehiko NOZAKI reporter

    powerpc64 is basically bi-endian cpu(so Configure never defined B_ENDIAN), but macppc and evbppc is BE.

  5. Log in to comment