******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: RC4 =================== Profile: bench Key size: 128 bits IV size: 0 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 1068 bytes Testing stream encryption speed: Encrypted 8 blocks of 4096 bytes (under 1 keys, 8 blocks/key) Total time: 422756 clock ticks (248.68 usec) Encryption speed (cycles/byte): 12.90 Encryption speed (Mbps): 1054.14 Testing packet encryption speed: Encrypted 30 packets of 40 bytes (under 1 keys, 30 packets/key) Total time: 418059 clock ticks (245.92 usec) Encryption speed (cycles/packet): 13935.30 Encryption speed (cycles/byte): 348.38 Encryption speed (Mbps): 39.04 Overhead: 2600.3% Encrypted 20 packets of 576 bytes (under 1 keys, 20 packets/key) Total time: 415391 clock ticks (244.35 usec) Encryption speed (cycles/packet): 20769.55 Encryption speed (cycles/byte): 36.06 Encryption speed (Mbps): 377.17 Overhead: 179.5% Encrypted 12 packets of 1500 bytes (under 1 keys, 12 packets/key) Total time: 393139 clock ticks (231.26 usec) Encryption speed (cycles/packet): 32761.58 Encryption speed (cycles/byte): 21.84 Encryption speed (Mbps): 622.68 Overhead: 69.3% Weighted average (Simple Imix): Encryption speed (cycles/byte): 52.25 Encryption speed (Mbps): 260.29 Overhead: 305.0% Testing key setup speed: Did 6000 key setups (under 10 keys, 600 setups/key) Total time: 406860 clock ticks (239.33 usec) Key setup speed (cycles/setup): 67.81 Key setup speed (setups/second): 25070048.67 Testing IV setup speed: Did 31 IV setups (under 1 keys, 31 setups/key) Total time: 413388 clock ticks (243.17 usec) IV setup speed (cycles/setup): 13335.10 IV setup speed (setups/second): 127483.14 Testing key agility: Encrypted 60 blocks of 256 bytes (each time switching contexts) Total time: 373682 clock ticks (219.81 usec) Encryption speed (cycles/byte): 24.33 Encryption speed (Mbps): 559.02 Overhead: 88.6% End of performance measurements Primitive Name: RC4 =================== Profile: bench Key size: 256 bits IV size: 0 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 1068 bytes Testing stream encryption speed: Encrypted 8 blocks of 4096 bytes (under 1 keys, 8 blocks/key) Total time: 422735 clock ticks (248.67 usec) Encryption speed (cycles/byte): 12.90 Encryption speed (Mbps): 1054.19 Testing packet encryption speed: Encrypted 30 packets of 40 bytes (under 1 keys, 30 packets/key) Total time: 418059 clock ticks (245.92 usec) Encryption speed (cycles/packet): 13935.30 Encryption speed (cycles/byte): 348.38 Encryption speed (Mbps): 39.04 Overhead: 2600.5% Encrypted 20 packets of 576 bytes (under 1 keys, 20 packets/key) Total time: 415309 clock ticks (244.30 usec) Encryption speed (cycles/packet): 20765.45 Encryption speed (cycles/byte): 36.05 Encryption speed (Mbps): 377.24 Overhead: 179.4% Encrypted 12 packets of 1500 bytes (under 1 keys, 12 packets/key) Total time: 393390 clock ticks (231.41 usec) Encryption speed (cycles/packet): 32782.50 Encryption speed (cycles/byte): 21.86 Encryption speed (Mbps): 622.28 Overhead: 69.4% Weighted average (Simple Imix): Encryption speed (cycles/byte): 52.25 Encryption speed (Mbps): 260.28 Overhead: 305.0% Testing key setup speed: Did 4800 key setups (under 10 keys, 480 setups/key) Total time: 418675 clock ticks (246.28 usec) Key setup speed (cycles/setup): 87.22 Key setup speed (setups/second): 19490057.92 Testing IV setup speed: Did 31 IV setups (under 1 keys, 31 setups/key) Total time: 413388 clock ticks (243.17 usec) IV setup speed (cycles/setup): 13335.10 IV setup speed (setups/second): 127483.14 Testing key agility: Encrypted 60 blocks of 256 bytes (each time switching contexts) Total time: 375718 clock ticks (221.01 usec) Encryption speed (cycles/byte): 24.46 Encryption speed (Mbps): 555.99 Overhead: 89.6% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 07:48:02 CET 2008 CPU: ------------------------------------------------------------------------------- processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1700MHz stepping : 5 cpu MHz : 1700.000 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up est tm2 bogomips : 3391.40 clflush size : 64 COMPILER: ------------------------------------------------------------------------------- Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) COMPILATION: ------------------------------------------------------------------------------- make var=2 conf=gcc_default_O3-ual-ofp gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=2 -I../../../benchmarks/rc4/../../include -I../../../benchmarks/rc4 -c -o rc4_gcc_default.o ../../../benchmarks/rc4/rc4.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer ecrypt-test_gcc_default.o ecrypt-sync_gcc_default.o rc4_gcc_default.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- b923f9b4489661e49324854606e61ab6 -