3DES performance

Chris Kuethe chris.kuethe at gmail.com
Wed Dec 8 10:43:59 EST 2004


On Wed, 8 Dec 2004 13:33:27 +0100, Lee Parkes <leep at bogus.net> wrote:
> Hi,
> I'm working on a project for a company that involves the use of 3DES. They have
> asked me to find out what the overheads are for encrypting a binary file. There
> will be quite a lot of traffic coming in (in the region of hundreds of
> thousands of files per hour). Has anyone got any figures for 3DES performance?
> I've tried bdes on OpenBSD which has given me some useful results.

use "openssl speed". 

ttyp1# openssl speed des blowfish
To get the most accurate results, try to run this
program when this computer is idle.
Doing des cbc for 3s on 16 size blocks: 3237791 des cbc's in 2.74s
Doing des cbc for 3s on 64 size blocks: 885896 des cbc's in 2.74s
Doing des cbc for 3s on 256 size blocks: 173965 des cbc's in 2.15s
Doing des cbc for 3s on 1024 size blocks: 53943 des cbc's in 2.59s
Doing des cbc for 3s on 8192 size blocks: 6254 des cbc's in 2.37s
Doing des ede3 for 3s on 16 size blocks: 1253405 des ede3's in 2.64s
Doing des ede3 for 3s on 64 size blocks: 331913 des ede3's in 2.77s
Doing des ede3 for 3s on 256 size blocks: 82690 des ede3's in 2.75s
Doing des ede3 for 3s on 1024 size blocks: 19544 des ede3's in 2.54s
Doing des ede3 for 3s on 8192 size blocks: 2455 des ede3's in 2.55s
Doing blowfish cbc for 3s on 16 size blocks: 3843597 blowfish cbc's in 2.02s
Doing blowfish cbc for 3s on 64 size blocks: 645760 blowfish cbc's in 1.14s
Doing blowfish cbc for 3s on 256 size blocks: 352101 blowfish cbc's in 2.70s
Doing blowfish cbc for 3s on 1024 size blocks: 88319 blowfish cbc's in 2.63s
Doing blowfish cbc for 3s on 8192 size blocks: 11269 blowfish cbc's in 2.69s
OpenSSL 0.9.7d 17 Mar 2004
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
aes(partial) blowfish(idx)
compiler: information not available
available timing options: USE_TOD HZ=100 [sysconf value]
timing function used: getrusage
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
des cbc          18891.73k    20675.95k    20729.04k    21296.44k    21642.88k
des ede3          7594.60k     7680.88k     7697.69k     7882.07k     7896.48k
blowfish cbc     30510.41k    36233.33k    33442.44k    34452.82k    34350.01k


-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com



More information about the cryptography mailing list