TLS does not invoke hardware acceleration except on Intel/AMD platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 */

...

Regards

Mark Hack




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux