I was testing IPP SMS4 functions on a Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz.
ippsSMS4EncryptCBC takes 1.3s to encrypt 100MB data, while ippsSMS4DecryptCBC taking only 0.25s to decrypt the cipher.
SMS4 is a symmetric encryption, why encrypting is much slower than decrypting in IPP crypto?