I've got a KVM server whos host doesn't pass the aes flag to the vm.
So my server is hardware aes capable, but openssl doesn't know that without specifically telling it to do so.
Code: Select all
# openssl speed -elapsed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128-cbc 61211.46k 60594.33k 60892.50k 163162.11k 182031.70k
Code: Select all
# OPENSSL_ia32cap="+0x200000200000000" openssl speed -elapsed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128-cbc 461871.00k 484265.41k 510874.11k 504460.29k 544361.13k