[Python-Dev] cpython: Issue #18582: provide a faster C implementation of pbkdf2_hmac that works with

Antoine Pitrou solipsis at pitrou.net
Sat Oct 19 18:28:10 CEST 2013


On Sat, 19 Oct 2013 18:05:35 +0200
Christian Heimes <christian at python.org> wrote:
> Am 19.10.2013 16:59, schrieb Antoine Pitrou:
> > But that's a fringe situation. Any normal build of Python should be
> > compiled with OpenSSL support (and any decent binary build is). I think
> > the mention in the docs is distracting and will create pointless
> > uncertainty in the reader.
> 
> HMAC_CTX_copy() is not available in OpenSSL < 1.0. My optimized code
> won't run on OpenSSL 0.9.8. IMHO it's important to understand that some
> code may complete in ~100ms instead of ~30ms.

Well, I disagree about the importance of documenting a 3x difference on
a select function (rather than, say, a couple orders of magnitude), but
the OpenSSL version issue at least makes the situation more
plausible :-)

(even though OpenSSL 1.0 is already 3.5 years old)

Regards

Antoine.


More information about the Python-Dev mailing list