Friday, November 30, 2007

Speed Comparison of Popular Crypto Algorithms

Speed Comparison of Popular Crypto Algorithms

Crypto++ 5.5 Benchmarks
Here are speed benchmarks for some of the most commonly used cryptographic algorithms. All were coded in C++, compiled with Microsoft Visual C++ 2005 SP1 (whole program optimization, optimize for speed), and ran on an Intel Core 2 1.83 GHz processor under Windows XP SP 2 in 32-bit mode. x86/MMX/SSE2 assembly language routines were used for integer arithmetic, AES, VMAC, Sosemanuk, Panama, Salsa20, SHA-512, Tiger, and Whirlpool. (OpenMP support was disabled so only one core of the CPU was used for this benchmark.)
The results from the same binary running on an Intel Pentium 4 (Northwood) CPU are available here.
Also available are benchmarks that ran on an AMD Opteron 2.4 GHz processor under Linux 2.6.18. Those were compiled with GCC 4.1.1 using -O2 optimization, and x86-64/MMX/SSE2 assembly language routines were used for integer arithmetic, AES, VMAC, Sosemanuk, Panama, Salsa20, and Whirlpool.