******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: SNOW-2.0 ======================== Profile: bench Key size: 128 bits IV size: 128 bits CPU speed: 2210.2 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 108 bytes Testing stream encryption speed: Encrypted 27 blocks of 4096 bytes (under 1 keys, 27 blocks/key) Total time: 533896 clock ticks (241.56 usec) Encryption speed (cycles/byte): 4.83 Encryption speed (Mbps): 3662.61 Testing packet encryption speed: Encrypted 500 packets of 40 bytes (under 10 keys, 50 packets/key) Total time: 463575 clock ticks (209.74 usec) Encryption speed (cycles/packet): 927.15 Encryption speed (cycles/byte): 23.18 Encryption speed (Mbps): 762.84 Overhead: 380.1% Encrypted 160 packets of 576 bytes (under 10 keys, 16 packets/key) Total time: 531814 clock ticks (240.62 usec) Encryption speed (cycles/packet): 3323.84 Encryption speed (cycles/byte): 5.77 Encryption speed (Mbps): 3064.12 Overhead: 19.5% Encrypted 60 packets of 1500 bytes (under 1 keys, 60 packets/key) Total time: 480590 clock ticks (217.44 usec) Encryption speed (cycles/packet): 8009.83 Encryption speed (cycles/byte): 5.34 Encryption speed (Mbps): 3311.24 Overhead: 10.6% Weighted average (Simple Imix): Encryption speed (cycles/byte): 6.81 Encryption speed (Mbps): 2598.00 Overhead: 41.0% Testing key setup speed: Did 14000 key setups (under 100 keys, 140 setups/key) Total time: 607211 clock ticks (274.73 usec) Key setup speed (cycles/setup): 43.37 Key setup speed (setups/second): 50959122.94 Testing IV setup speed: Did 1000 IV setups (under 10 keys, 100 setups/key) Total time: 528040 clock ticks (238.91 usec) IV setup speed (cycles/setup): 528.04 IV setup speed (setups/second): 4185686.69 Testing key agility: Encrypted 330 blocks of 256 bytes (each time switching contexts) Total time: 545507 clock ticks (246.81 usec) Encryption speed (cycles/byte): 6.46 Encryption speed (Mbps): 2738.28 Overhead: 33.8% End of performance measurements Primitive Name: SNOW-2.0 ======================== Profile: bench Key size: 256 bits IV size: 128 bits CPU speed: 2210.2 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 108 bytes Testing stream encryption speed: Encrypted 27 blocks of 4096 bytes (under 1 keys, 27 blocks/key) Total time: 533918 clock ticks (241.57 usec) Encryption speed (cycles/byte): 4.83 Encryption speed (Mbps): 3662.46 Testing packet encryption speed: Encrypted 500 packets of 40 bytes (under 10 keys, 50 packets/key) Total time: 468554 clock ticks (212.00 usec) Encryption speed (cycles/packet): 937.11 Encryption speed (cycles/byte): 23.43 Encryption speed (Mbps): 754.73 Overhead: 385.3% Encrypted 160 packets of 576 bytes (under 10 keys, 16 packets/key) Total time: 533429 clock ticks (241.35 usec) Encryption speed (cycles/packet): 3333.93 Encryption speed (cycles/byte): 5.79 Encryption speed (Mbps): 3054.85 Overhead: 19.9% Encrypted 60 packets of 1500 bytes (under 1 keys, 60 packets/key) Total time: 481275 clock ticks (217.75 usec) Encryption speed (cycles/packet): 8021.25 Encryption speed (cycles/byte): 5.35 Encryption speed (Mbps): 3306.53 Overhead: 10.8% Weighted average (Simple Imix): Encryption speed (cycles/byte): 6.84 Encryption speed (Mbps): 2586.69 Overhead: 41.6% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 556032 clock ticks (251.57 usec) Key setup speed (cycles/setup): 69.50 Key setup speed (setups/second): 31799752.53 Testing IV setup speed: Did 1000 IV setups (under 10 keys, 100 setups/key) Total time: 541404 clock ticks (244.96 usec) IV setup speed (cycles/setup): 541.40 IV setup speed (setups/second): 4082367.33 Testing key agility: Encrypted 330 blocks of 256 bytes (each time switching contexts) Total time: 547806 clock ticks (247.85 usec) Encryption speed (cycles/byte): 6.48 Encryption speed (Mbps): 2726.78 Overhead: 34.3% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 22:09:21 CET 2007 CPU: ------------------------------------------------------------------------------- processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 75 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ stepping : 2 cpu MHz : 2210.210 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni cx16 lahf_lm cmp_legacy svm cr8_legacy bogomips : 4424.76 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 75 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ stepping : 2 cpu MHz : 2210.210 cache size : 512 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni cx16 lahf_lm cmp_legacy svm cr8_legacy bogomips : 4429.23 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc COMPILER: ------------------------------------------------------------------------------- Using built-in specs. Target: x86_64-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 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu Thread model: posix gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) 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: ------------------------------------------------------------------------------- 966aba48f1133ffd9b2be7991f30800c -