Hi , We are writing some crypto applications using "AES_encrypt" method in aes.h directly instead of using EVP layer .
When benchmarking for performance , we notice that AES-NI is much slower than AES (contradicting the expectation that AES-NI should be faster ). To benchmark We are using openssl-1.0.1g (by default AES-NI is enabled) , To disable AES-NI , I rebuild openssl from "./config no-asm -g -march=native" We need AES in ECB mode for our application. Any suggestions on what is going wrong ? Why is AES-NI slower than AES ? Regards Sashank