[openssl-users] Checking for AES-NI accelration
Jakob Bohm
jb-openssl at wisemo.com
Wed Aug 10 17:20:59 UTC 2016
On 10/08/2016 19:02, Norm Green wrote:
> I've been wondering how and when OpenSSL decides whether it can use
> the new aes instructions? Does it decide at build time or at run time?
>
> If I build on a CPU that supports aes instructions but run on a cpu
> that does not, will bad things happen? Or is OpenSSL smart enough to
> call functions implemented without aes instructions in that case?
>
>
Runtime. See the file crypto/x86cpuid.pl which gets
converted to compiler-specific assembler source code.
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
More information about the openssl-users
mailing list