What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

64-bit openssl optimization for ECDH

Fitz Mutch

Senior Member
@RMerlin, I'm running 64-bit version of Tor on the RT-AC86U. There's a log notice suggesting a possible ECDH optimization for 64-bit CPUs. Did you try it for IPSEC ? I think I tried compiling openssl (aarch64) with enable-ec_nistp_64_gcc_128, but something was missing.
Code:
Feb 24 00:07:58.000 [notice] We were built to run on a 64-bit CPU, with OpenSSL 1.0.1 or later, but with a version of OpenSSL that apparently lacks accelerated support for the NIST P-224 and P-256 groups. Building openssl with such support (using the enable-ec_nistp_64_gcc_128 option when configuring it) would make ECDH much faster.
 
No, I didn't try it. Not sure Strongswan would make use of that tho.

The documentation mentions a few other requirements for that option - I have no idea if they apply.
 
Last edited:

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top