******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: SNOW-2.0 ======================== Profile: bench Key size: 128 bits IV size: 128 bits CPU speed: 2794.1 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 108 bytes Testing stream encryption speed: Encrypted 33 blocks of 4096 bytes (under 1 keys, 33 blocks/key) Total time: 680968 clock ticks (243.72 usec) Encryption speed (cycles/byte): 5.04 Encryption speed (Mbps): 4436.84 Testing packet encryption speed: Encrypted 480 packets of 40 bytes (under 10 keys, 48 packets/key) Total time: 683596 clock ticks (244.66 usec) Encryption speed (cycles/packet): 1424.16 Encryption speed (cycles/byte): 35.60 Encryption speed (Mbps): 627.81 Overhead: 606.7% Encrypted 170 packets of 576 bytes (under 10 keys, 17 packets/key) Total time: 677396 clock ticks (242.44 usec) Encryption speed (cycles/packet): 3984.68 Encryption speed (cycles/byte): 6.92 Encryption speed (Mbps): 3231.13 Overhead: 37.3% Encrypted 70 packets of 1500 bytes (under 1 keys, 70 packets/key) Total time: 621588 clock ticks (222.47 usec) Encryption speed (cycles/packet): 8879.83 Encryption speed (cycles/byte): 5.92 Encryption speed (Mbps): 3775.83 Overhead: 17.5% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.52 Encryption speed (Mbps): 2624.14 Overhead: 69.1% Testing key setup speed: Did 7000 key setups (under 10 keys, 700 setups/key) Total time: 598072 clock ticks (214.05 usec) Key setup speed (cycles/setup): 85.44 Key setup speed (setups/second): 32702485.65 Testing IV setup speed: Did 700 IV setups (under 10 keys, 70 setups/key) Total time: 700380 clock ticks (250.67 usec) IV setup speed (cycles/setup): 1000.54 IV setup speed (setups/second): 2792547.05 Testing key agility: Encrypted 340 blocks of 256 bytes (each time switching contexts) Total time: 692336 clock ticks (247.79 usec) Encryption speed (cycles/byte): 7.95 Encryption speed (Mbps): 2810.14 Overhead: 57.9% End of performance measurements Primitive Name: SNOW-2.0 ======================== Profile: bench Key size: 256 bits IV size: 128 bits CPU speed: 2794.1 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 108 bytes Testing stream encryption speed: Encrypted 33 blocks of 4096 bytes (under 1 keys, 33 blocks/key) Total time: 677796 clock ticks (242.58 usec) Encryption speed (cycles/byte): 5.01 Encryption speed (Mbps): 4457.60 Testing packet encryption speed: Encrypted 470 packets of 40 bytes (under 10 keys, 47 packets/key) Total time: 689824 clock ticks (246.89 usec) Encryption speed (cycles/packet): 1467.71 Encryption speed (cycles/byte): 36.69 Encryption speed (Mbps): 609.18 Overhead: 631.7% Encrypted 170 packets of 576 bytes (under 10 keys, 17 packets/key) Total time: 688812 clock ticks (246.53 usec) Encryption speed (cycles/packet): 4051.84 Encryption speed (cycles/byte): 7.03 Encryption speed (Mbps): 3177.58 Overhead: 40.3% Encrypted 70 packets of 1500 bytes (under 1 keys, 70 packets/key) Total time: 625436 clock ticks (223.84 usec) Encryption speed (cycles/packet): 8934.80 Encryption speed (cycles/byte): 5.96 Encryption speed (Mbps): 3752.60 Overhead: 18.8% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.67 Encryption speed (Mbps): 2577.57 Overhead: 72.9% Testing key setup speed: Did 5000 key setups (under 10 keys, 500 setups/key) Total time: 629160 clock ticks (225.18 usec) Key setup speed (cycles/setup): 125.83 Key setup speed (setups/second): 22204709.45 Testing IV setup speed: Did 600 IV setups (under 10 keys, 60 setups/key) Total time: 617488 clock ticks (221.00 usec) IV setup speed (cycles/setup): 1029.15 IV setup speed (setups/second): 2714931.79 Testing key agility: Encrypted 340 blocks of 256 bytes (each time switching contexts) Total time: 693436 clock ticks (248.18 usec) Encryption speed (cycles/byte): 7.97 Encryption speed (Mbps): 2805.68 Overhead: 58.9% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 23:48:10 CET 2007 CPU: ------------------------------------------------------------------------------- processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.80GHz stepping : 9 cpu MHz : 2794.063 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 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 pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 5590.07 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.80GHz stepping : 9 cpu MHz : 2794.063 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 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 pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 5585.61 COMPILER: ------------------------------------------------------------------------------- Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-3) COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=i386-redhat-linux-gcc_prescott_O3-ual-ofp i386-redhat-linux-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 -march=prescott -c -o ecrypt-test_gcc_prescott.o ../../../benchmarks/snow-2.0/../../test/ecrypt-test.c i386-redhat-linux-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 -march=prescott -c -o ecrypt-sync_gcc_prescott.o ../../../benchmarks/snow-2.0/../../api/ecrypt-sync.c i386-redhat-linux-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 -march=prescott -c -o snow-2.0_gcc_prescott.o ../../../benchmarks/snow-2.0/snow-2.0.c i386-redhat-linux-gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=prescott ecrypt-test_gcc_prescott.o ecrypt-sync_gcc_prescott.o snow-2.0_gcc_prescott.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 0c7a9fe7e17815c4e4738055c7cd178f -