******************************************************************************** * 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 7 blocks of 4096 bytes (under 1 keys, 7 blocks/key) Total time: 372359 clock ticks (219.03 usec) Encryption speed (cycles/byte): 12.99 Encryption speed (Mbps): 1047.21 Testing packet encryption speed: Encrypted 30 packets of 40 bytes (under 1 keys, 30 packets/key) Total time: 412726 clock ticks (242.78 usec) Encryption speed (cycles/packet): 13757.53 Encryption speed (cycles/byte): 343.94 Encryption speed (Mbps): 39.54 Overhead: 2548.4% Encrypted 20 packets of 576 bytes (under 1 keys, 20 packets/key) Total time: 414125 clock ticks (243.60 usec) Encryption speed (cycles/packet): 20706.25 Encryption speed (cycles/byte): 35.95 Encryption speed (Mbps): 378.32 Overhead: 176.8% Encrypted 12 packets of 1500 bytes (under 1 keys, 12 packets/key) Total time: 393049 clock ticks (231.21 usec) Encryption speed (cycles/packet): 32754.08 Encryption speed (cycles/byte): 21.84 Encryption speed (Mbps): 622.82 Overhead: 68.1% Weighted average (Simple Imix): Encryption speed (cycles/byte): 51.88 Encryption speed (Mbps): 262.14 Overhead: 299.5% Testing key setup speed: Did 6000 key setups (under 10 keys, 600 setups/key) Total time: 376264 clock ticks (221.33 usec) Key setup speed (cycles/setup): 62.71 Key setup speed (setups/second): 27108625.86 Testing IV setup speed: Did 31 IV setups (under 1 keys, 31 setups/key) Total time: 408237 clock ticks (240.14 usec) IV setup speed (cycles/setup): 13168.94 IV setup speed (setups/second): 129091.68 Testing key agility: Encrypted 100 blocks of 256 bytes (each time switching contexts) Total time: 418509 clock ticks (246.18 usec) Encryption speed (cycles/byte): 16.35 Encryption speed (Mbps): 831.91 Overhead: 25.9% 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 7 blocks of 4096 bytes (under 1 keys, 7 blocks/key) Total time: 372339 clock ticks (219.02 usec) Encryption speed (cycles/byte): 12.99 Encryption speed (Mbps): 1047.27 Testing packet encryption speed: Encrypted 30 packets of 40 bytes (under 1 keys, 30 packets/key) Total time: 412726 clock ticks (242.78 usec) Encryption speed (cycles/packet): 13757.53 Encryption speed (cycles/byte): 343.94 Encryption speed (Mbps): 39.54 Overhead: 2548.5% Encrypted 20 packets of 576 bytes (under 1 keys, 20 packets/key) Total time: 413352 clock ticks (243.15 usec) Encryption speed (cycles/packet): 20667.60 Encryption speed (cycles/byte): 35.88 Encryption speed (Mbps): 379.03 Overhead: 176.3% Encrypted 12 packets of 1500 bytes (under 1 keys, 12 packets/key) Total time: 392527 clock ticks (230.90 usec) Encryption speed (cycles/packet): 32710.58 Encryption speed (cycles/byte): 21.81 Encryption speed (Mbps): 623.65 Overhead: 67.9% Weighted average (Simple Imix): Encryption speed (cycles/byte): 51.83 Encryption speed (Mbps): 262.38 Overhead: 299.1% Testing key setup speed: Did 4700 key setups (under 10 keys, 470 setups/key) Total time: 423067 clock ticks (248.86 usec) Key setup speed (cycles/setup): 90.01 Key setup speed (setups/second): 18885897.51 Testing IV setup speed: Did 31 IV setups (under 1 keys, 31 setups/key) Total time: 408237 clock ticks (240.14 usec) IV setup speed (cycles/setup): 13168.94 IV setup speed (setups/second): 129091.68 Testing key agility: Encrypted 100 blocks of 256 bytes (each time switching contexts) Total time: 417743 clock ticks (245.73 usec) Encryption speed (cycles/byte): 16.32 Encryption speed (Mbps): 833.43 Overhead: 25.7% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 08:04:48 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=1 conf=gcc_k8_O3-ual-ofp gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../benchmarks/rc4/../../include -I../../../benchmarks/rc4 -march=k8 -c -o ecrypt-test_gcc_k8.o ../../../benchmarks/rc4/../../test/ecrypt-test.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../benchmarks/rc4/../../include -I../../../benchmarks/rc4 -march=k8 -c -o ecrypt-sync_gcc_k8.o ../../../benchmarks/rc4/../../api/ecrypt-sync.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../benchmarks/rc4/../../include -I../../../benchmarks/rc4 -march=k8 -c -o rc4_gcc_k8.o ../../../benchmarks/rc4/rc4.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=k8 ecrypt-test_gcc_k8.o ecrypt-sync_gcc_k8.o rc4_gcc_k8.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 2528886cfd9aba791155fd451c256440 -