Checking for AES-NI accelration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux