******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: SNOW-2.0 ======================== Profile: bench Key size: 128 bits IV size: 128 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 108 bytes Testing stream encryption speed: Encrypted 21 blocks of 4096 bytes (under 1 keys, 21 blocks/key) Total time: 408250 clock ticks (240.15 usec) Encryption speed (cycles/byte): 4.75 Encryption speed (Mbps): 2865.44 Testing packet encryption speed: Encrypted 360 packets of 40 bytes (under 10 keys, 36 packets/key) Total time: 409527 clock ticks (240.90 usec) Encryption speed (cycles/packet): 1137.58 Encryption speed (cycles/byte): 28.44 Encryption speed (Mbps): 478.21 Overhead: 499.2% Encrypted 120 packets of 576 bytes (under 10 keys, 12 packets/key) Total time: 417350 clock ticks (245.50 usec) Encryption speed (cycles/packet): 3477.92 Encryption speed (cycles/byte): 6.04 Encryption speed (Mbps): 2252.38 Overhead: 27.2% Encrypted 50 packets of 1500 bytes (under 1 keys, 50 packets/key) Total time: 401383 clock ticks (236.11 usec) Encryption speed (cycles/packet): 8027.66 Encryption speed (cycles/byte): 5.35 Encryption speed (Mbps): 2541.21 Overhead: 12.8% Weighted average (Simple Imix): Encryption speed (cycles/byte): 7.32 Encryption speed (Mbps): 1857.46 Overhead: 54.3% Testing key setup speed: Did 5000 key setups (under 10 keys, 500 setups/key) Total time: 342556 clock ticks (201.50 usec) Key setup speed (cycles/setup): 68.51 Key setup speed (setups/second): 24813461.16 Testing IV setup speed: Did 500 IV setups (under 10 keys, 50 setups/key) Total time: 360782 clock ticks (212.22 usec) IV setup speed (cycles/setup): 721.56 IV setup speed (setups/second): 2355993.37 Testing key agility: Encrypted 270 blocks of 256 bytes (each time switching contexts) Total time: 421034 clock ticks (247.67 usec) Encryption speed (cycles/byte): 6.09 Encryption speed (Mbps): 2232.67 Overhead: 28.3% End of performance measurements Primitive Name: SNOW-2.0 ======================== Profile: bench Key size: 256 bits IV size: 128 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 108 bytes Testing stream encryption speed: Encrypted 21 blocks of 4096 bytes (under 1 keys, 21 blocks/key) Total time: 408078 clock ticks (240.05 usec) Encryption speed (cycles/byte): 4.74 Encryption speed (Mbps): 2866.65 Testing packet encryption speed: Encrypted 360 packets of 40 bytes (under 10 keys, 36 packets/key) Total time: 419581 clock ticks (246.81 usec) Encryption speed (cycles/packet): 1165.50 Encryption speed (cycles/byte): 29.14 Encryption speed (Mbps): 466.75 Overhead: 514.2% Encrypted 120 packets of 576 bytes (under 10 keys, 12 packets/key) Total time: 420369 clock ticks (247.28 usec) Encryption speed (cycles/packet): 3503.07 Encryption speed (cycles/byte): 6.08 Encryption speed (Mbps): 2236.21 Overhead: 28.2% Encrypted 50 packets of 1500 bytes (under 1 keys, 50 packets/key) Total time: 402817 clock ticks (236.95 usec) Encryption speed (cycles/packet): 8056.34 Encryption speed (cycles/byte): 5.37 Encryption speed (Mbps): 2532.17 Overhead: 13.2% Weighted average (Simple Imix): Encryption speed (cycles/byte): 7.40 Encryption speed (Mbps): 1837.50 Overhead: 56.0% Testing key setup speed: Did 4400 key setups (under 10 keys, 440 setups/key) Total time: 396947 clock ticks (233.50 usec) Key setup speed (cycles/setup): 90.22 Key setup speed (setups/second): 18843825.50 Testing IV setup speed: Did 500 IV setups (under 10 keys, 50 setups/key) Total time: 384364 clock ticks (226.10 usec) IV setup speed (cycles/setup): 768.73 IV setup speed (setups/second): 2211445.40 Testing key agility: Encrypted 270 blocks of 256 bytes (each time switching contexts) Total time: 420418 clock ticks (247.30 usec) Encryption speed (cycles/byte): 6.08 Encryption speed (Mbps): 2235.95 Overhead: 28.2% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 07:33:12 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_default_O3-ual-ofp gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../benchmarks/snow-2.0/../../include -I../../../benchmarks/snow-2.0 -c -o ecrypt-test_gcc_default.o ../../../benchmarks/snow-2.0/../../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/snow-2.0/../../include -I../../../benchmarks/snow-2.0 -c -o ecrypt-sync_gcc_default.o ../../../benchmarks/snow-2.0/../../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/snow-2.0/../../include -I../../../benchmarks/snow-2.0 -c -o snow-2.0_gcc_default.o ../../../benchmarks/snow-2.0/snow-2.0.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer ecrypt-test_gcc_default.o ecrypt-sync_gcc_default.o snow-2.0_gcc_default.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 635942a5e81c9807659928076c013399 -