When launching a freshly unzipped TBB-3.5-rc1 (only build 1, I think), and configuring a bridge in the TorLauncher first run dialogue, I get the following log message from tor:
Dec 13 00:42:38.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.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Merged. All hail the NSA! We can totally trust their crypto primitives, right?
Out of curiosity, does anyone have any idea if the accelerated versions of the curves are any more or less safe against sidechannel/implementation issues than the default versions? Did agl write both versions?
Trac: Status: needs_review to closed Resolution: N/Ato fixed
Sadly this failed. It appears that the configure option is enable-ec_nistp_64_gcc_128, not --enable-ec_nistp_64_gcc_128. However, the problems go beyond that. The Linux tor build fails on the inline assembly. Possibly the gcc on Ubuntu 10.04 LTS is too old for this code?
I attached the build log if anyone wants to dig deeper.
Trac: Resolution: fixed toN/A Status: closed to reopened
Out of curiosity, does anyone have any idea if the accelerated versions of the curves are any more or less safe against sidechannel/implementation issues than the default versions?
The accelerated versions should have better side-channel resistance.
In my experience this is working only on linux64 environment : it fails like it is reported in the attached log if the build platform is linux32
Well, that would explain it. The "64" in these options mean that they only work on X86_64 (aka AMD64).
Ok, I think we should be able to tweak this to only apply on 64bit targets easily enough. I will see if I can apply this patch with a conditional that checks for target bitwidth and get it to work.