K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-06-21T05:42:21.193451Z K 7 svn:log V 676 o) Use M_ZERO when allocating session data that we want zeroed rather than calling memset by hand. o) Don't memset the iovec array before using it -- it should be adequately bounds-checked and not need the safety net of NULL pointers and 0 lengths. This significantly reduces overhead. OpenSSL speed test, before: type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128-cbc 447.60k 1754.91k 6431.14k 19025.51k 35813.38k OpenSSL speed test, after: type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128-cbc 782.49k 3006.76k 10510.03k 26280.64k 38939.45k END