[issue27768] ssl: get CPU cap flags for AESNI and PCLMULQDQ

Christian Heimes report at bugs.python.org
Fri Aug 26 07:16:29 EDT 2016


Christian Heimes added the comment:

GPS, I no longer want a general API for CPU cap vector. The ssl module and 3rd party packages are only interested in two properties of the current hardware: are AESNI and PCLMULQDQ instructions available and enabled.

I'm pretty sure ctypes won't work on Windows and OSX. The OpenSSL libraries are statically linked into the _ssl binary. The linker optimizer removes all functions that are not used. Somebody could give it a try, though.

----------
title: ssl: add public API for IA-32 processor capabilities vector -> ssl: get CPU cap flags for AESNI and PCLMULQDQ

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27768>
_______________________________________


More information about the Python-bugs-list mailing list