Why is hardware accelerated AES256 slower than ChaCha20
I'm not sure if it's the right subreddit to post in, but I was wondering why AES256 is slower on my CPU (Snapdragon 888 which does have AES acceleration) than ChaCha20 and maybe anybody knows the reason. Usually AES is >1.5x faster on average if hardware support is present but there it's completely opposite:
AES256 openssl benchmark: type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes AES-256-CCM 59140.73k 194164.12k 452524.12k 676609.02k 790874.79k 805153.45k
ChaCha20 openssl benchmark: type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes ChaCha20 265859.33k 435673.17k 838061.74k 1332601.17k 1371340.80k 1375125.50k