View previous topic :: View next topic |
Author |
Message |
toralf Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/10034462014367c4dfe33c1.gif)
Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Thu Jan 01, 2015 3:27 pm Post subject: [solved] How do I build opensl with NIST P-224 and P-256 ? |
|
|
read this in the tor log : Code: | Jan 01 15:13:18.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.
|
Last edited by toralf on Fri Jan 02, 2015 7:08 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Jan 02, 2015 1:41 pm Post subject: Re: How do I build opensl with NIST P-224 and P-256 ? |
|
|
toralf ... you could try using package.env (untested)
/etc/portage/env/openssl.conf
Code: | EXTRA_ECONF="enable-ec_nistp_64_gcc_128" |
/etc/portage/package.env
Code: | dev-libs/openssl openssl.conf |
HTH & best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
toralf Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/10034462014367c4dfe33c1.gif)
Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Fri Jan 02, 2015 6:12 pm Post subject: |
|
|
Hhm, won't work : Code: | $> grep nist /etc/portage/package.env
dev-libs/openssl test ssl_nist
$> cat /etc/portage/env/ssl_nist
EXTRA_ECONF="enable-ec_nistp_64_gcc_128"
$> zgrep nistp.64 *openssl* *openssl*2015*
dev-libs:openssl-1.0.1j:20150102-135319.log.gz: no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
|
![Sad :-(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Jan 02, 2015 6:39 pm Post subject: |
|
|
toralf ...
ok, bug 469976 seems to provide the rational of why its disabled. The specific section {dis,en}abling this is line 128 of the ebuild so its easily copied to a local overlay and uncommented.
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
toralf Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/10034462014367c4dfe33c1.gif)
Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Fri Jan 02, 2015 7:07 pm Post subject: |
|
|
khayyam wrote: | toralf ...
ok, bug 469976 seems to provide the rational of why its disabled. The specific section {dis,en}abling this is line 128 of the ebuild so its easily copied to a local overlay and uncommented.
best ... khay | ick - thx kay for pointing me to that bug, wasn't aware of it.
Well, I'll not test this at my tor relay - so I'll live w/o NIST algos. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|