| October 9, 2010 12:00 AM PDT | |
Overview
The Intel® AES New Instructions (AES-NI) Sample Library demonstrates how one might implement a high performance Advanced Encryption Standard (AES) block cipher using the new AES-NI instructions available in Intel® Core™ i5, Intel® Core™ i7, Intel® Xeon® 5600 series and newer processors. All code samples can be compiled and run as native 32-bit or 64-bit binaries for both Microsoft Windows* and Linux* operating systems. This package is divided into three parts; The Intel® AES sample library, an AES example implementation using the library, and an application that compares Dr. Brian Gladman’s AES performance with that of the AES-NI optimized library.
Download
Click here to download the Intel AES-NI Sample Library V1.2
The Intel® AES New Instructions (AES-NI) Sample Library demonstrates how one might implement a high performance Advanced Encryption Standard (AES) block cipher using the new AES-NI instructions available in Intel® Core™ i5, Intel® Core™ i7, Intel® Xeon® 5600 series and newer processors. All code samples can be compiled and run as native 32-bit or 64-bit binaries for both Microsoft Windows* and Linux* operating systems. This package is divided into three parts; The Intel® AES sample library, an AES example implementation using the library, and an application that compares Dr. Brian Gladman’s AES performance with that of the AES-NI optimized library.
Download
Click here to download the Intel AES-NI Sample Library V1.2
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (7) 
| December 9, 2010 1:36 PM PST
Dan Zimmerman (Intel)
|
Hi Scott, Functionally and performance wise, the code is essentially the same. Both libs supports the same AES modes (ECB, CTR, CBC) and yields essentially the same cycle/byte effciency results. cheers, Dan |
| December 13, 2010 1:32 PM PST
Dan Zimmerman (Intel)
| Testing |
| August 15, 2011 9:07 AM PDT
juntian
|
Hi Jeffrey and Dan, in the latest Intel AES-NI Sample Library V1.2, input plaintext for AES-CTR is assumed to have a bytelength of a multiple of 16. Are you planning to add an option of arbitrary bytelength, as AES-CTR supports any bytelength? (Of course, one could add a few bytes to the plaintext prior to encryption.) |
| November 2, 2011 6:00 AM PDT
mikeault
|
Is there a supported native library for accessing the AES-NI functionality? If so, where can I obtain it? So far, I have discovered only the sample library referenced by this article, and the example code within the white paper located at http://software.intel.com/en-us/articles/intel-advanced-encr.....ment-66183 My intuition tells me that Intel never intended for every exploiter to write, debug, and support his own native library to access the AES-NI functionality. I am cautiously optimistic that I just haven't located it yet. |
| January 3, 2012 2:42 PM PST
sbtech
|
testing the lib forwarded copy to RD center Thank you for the lib |
| April 19, 2012 6:46 AM PDT
Anjo | Thank you very much for the library!!! |
Trackbacks (4)
- Got AES Performance? – Intel Software Network Blogs
October 14, 2010 3:07 PM PDT - Got AES Performance? - News IT&C
October 14, 2010 7:20 PM PDT - AES Counter Mode details (Intel AES-NI implementation) – Blogs - Intel® Software Network
November 11, 2011 7:27 AM PST - AES Counter Mode details (Intel AES-NI implementation) | ServerGround.net
November 11, 2011 9:03 AM PST
Leave a comment 
To obtain technical support, please go to Software Support.



Scott M