How can I check if OpenSSL is support/use the Intel AES-NI?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Tell me please, how can I check if OpenSSL is support/use the Intel AES-NI? 回答1: how can I check if OpenSSL is support/use the Intel AES-NI? Its not that simple, though it should be. OpenSSL used to provide a function to get the capabilities detected for an ia32 processor, but its no longer available. See the discussion of OPENSSL_ia32cap_loc in the OPENSSL_ia32cap man page . Also see Verify AES-NI use at runtime? on the OpenSSL mailing list. If you are linking to the OpenSSL static library, then you can use: extern unsigned int