On 25/09/2019 15:26, Mark Hack wrote: > 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. > > int SSL_library_init(void) > { > OPENSSL_cpuid_init_setup(); /* Identify the HW platform */ > > ... Which version of OpenSSL do you see this in? In 1.1.1 at least I see the call to OPENSSL_cpuid_setup() in the default initialisation code: https://github.com/openssl/openssl/blob/19bd1fa1ef17ff0ac071402cb6b002f1c29e37b9/crypto/init.c#L45-L70 Matt