Profiling revealed that OPENSSL_cleanse consumes *more* CPU time than
authorAndy Polyakov <appro@openssl.org>
Mon, 14 May 2007 21:35:25 +0000 (21:35 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 14 May 2007 21:35:25 +0000 (21:35 +0000)
commitb2dba9bf1f8f73376b9c1f0904a86996c728b236
tree8848a4f5efdf02d841b1ebea4969d879d6e61eb5
parent932cc129ee61f5b72636eee6a7c3268e23967f7b
Profiling revealed that OPENSSL_cleanse consumes *more* CPU time than
sha1_block_data_order when hashing short messages. Move OPENSSL_cleanse
to "cpuid" assembler module and gain 2x.
Configure
crypto/Makefile
crypto/ia64cpuid.S
crypto/mem.c
crypto/sparccpuid.S
crypto/x86_64cpuid.pl
crypto/x86cpuid.pl