Information Security Stack Exchange is a question and answer site for information security professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In another question, Thomas' answer mentioned the AES-NI instruction set, which piqued my curiosity.

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

share|improve this question
up vote 7 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:

share|improve this answer

There's also the cpuid utility available on a number of OS's.

cpuid | grep -i aes
  AES instruction                         = true
share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Deer Hunter Jun 30 '15 at 19:36
I think I answered the question directly with the answer. The link was for reference (i.e., where the utility currently lives). But it could have been more of a footnote, I suppose. – Juan Jul 1 '15 at 20:11

Your Answer


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.