aesni Algorithm

The purpose of the education set is to better the speed (as well as the resistance to side-channel attacks) of applications performing encryption and decryption use Advanced encryption standard (AES). They are often implemented as instructions implementing a individual round of AES along with a special version for the last round which has a slightly different method.

aesni source code, pseudocode and analysis

In AES-NI performance analyze, Patrick Schmid and Achim Roos found" impressive outcomes from a handful of applications already optimized to take advantage of Intel's AES-NI capability". A performance analysis use the Crypto++ security library showed an increase in throughput from approximately 28.0 cycles per byte to 3.5 cycles per byte with AES / GCM versus a Pentium 4 with no acceleration.