TLS does not invoke hardware acceleration except on Intel/AMD platform
markhack at markhack.com
Wed Sep 25 14:26:05 UTC 2019
ssl_algs.c is missing the required call to OPENSSL_cpuid_setup() which
means that all the platforms which rely on the CPU ID to be set
(everything except Intel/AMD) never use any of the EVP calls and do not
hardware accelerate TLS. Yes, the performance tests work but these do
not use libssl.
Patching ssl_algs.c corrects this and the performance improvement is
immediatly noticable. This is the patch applied and tested on PPC.
OPENSSL_cpuid_init_setup(); /* Identify the HW platform */
More information about the openssl-users