Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

In another question: How to choose a stream cipher, Thomas' answer mentioned the AES-NI instruction set, which piqued my curiousity.

Is there a tool or process available out there to check whether the instruction set is available (besides comparing CPU model numbers)?

EDIT: Did the google search with no luck, btw :)

share|improve this question

2 Answers 2

up vote 5 down vote accepted

On Linux systems, do :

grep flags /proc/cpuinfo

This will give, for each CPU core, the list of what that core can do. The AES-NI instructions are there when the flag "aes" appears in the list of flags. See this page for a list of possible flag values.

For Windows, see this question on SuperUser.

share|improve this answer

I'm not a low level hardware person any more, but an example from this post regarding a FreeBSD implemention shows you can grab info from Features2:

Features2=0x29ee3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,<b17>,DCA,SSE4.1,SSE4.2,POPCNT,AESNI>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.