On Tue, May 24, 2011 at 05:10:03PM +0800, GuanJun He wrote: > Hi, > > This is a patch to add a switch to openssl's compression > methords(if compression methords are configured to compile in, 'config > zlib').Add an environment variable to control compression methords on > and off.As you know,more and more architectures have hardware > compression methords already, to get benifit from the hardware > compression, and to get a good performance,we need a switch as this.
I don't understand this. Are you suggesting that some hardware mechanism is trying to compress data _after_ OpenSSL handles it? Turning off compression in OpenSSL won't help with this, since the resulting SSL/TLS stream will stil be basically uncompressible. Or, are you suggesting that some hardware mechanism has compressed the application-layer data _before_ OpenSSL sees it, and thus the compression in OpenSSL is just a waste of cycles? Either way, it might be better to add explicit support for offloading compression to hardware. This can be done through /dev/crypto on NetBSD, for example, but unfortunately OpenSSL's engine for /dev/crypto is old and does not know how to use this feature. Thor ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
