| Subject: | [PATCH] Add Intel AES-NI support for 1.0.0 branch. |
| Date: | Thu, 24 Sep 2009 13:56:55 -0700 |
| To: | openssl-dev@openssl.org |
| From: | David Woodhouse <dwmw2@infradead.org> |
This backports the AES-NI engine to 1.0.0.
There's a slight complication in that it wants to check bit 57 of the
cpuid capabilities.
Rather than backporting the other cpuid changes from HEAD, which would
mean an ABI change, I've made it call the OPENSSL_ia32_cpuid() function
against directly -- at least on 32-bit builds. On 64-bit builds it's
fine anyway.
I'm happy to explore better fixes for the cpuid thing, but this seems to
be sufficient.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
There's a slight complication in that it wants to check bit 57 of the
cpuid capabilities.
Rather than backporting the other cpuid changes from HEAD, which would
mean an ABI change, I've made it call the OPENSSL_ia32_cpuid() function
against directly -- at least on 32-bit builds. On 64-bit builds it's
fine anyway.
I'm happy to explore better fixes for the cpuid thing, but this seems to
be sufficient.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
Message body is not shown because it is too large.