******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Salsa20/12 ========================== Profile: S!_H. Key size: 128 bits IV size: 64 bits CPU speed: 2794.1 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 64 bytes Testing stream encryption speed: Encrypted 15 blocks of 4096 bytes (under 1 keys, 15 blocks/key) Total time: 652272 clock ticks (233.45 usec) Encryption speed (cycles/byte): 10.62 Encryption speed (Mbps): 2105.47 Testing packet encryption speed: Encrypted 500 packets of 40 bytes (under 10 keys, 50 packets/key) Total time: 637236 clock ticks (228.07 usec) Encryption speed (cycles/packet): 1274.47 Encryption speed (cycles/byte): 31.86 Encryption speed (Mbps): 701.55 Overhead: 200.1% Encrypted 110 packets of 576 bytes (under 10 keys, 11 packets/key) Total time: 693524 clock ticks (248.21 usec) Encryption speed (cycles/packet): 6304.76 Encryption speed (cycles/byte): 10.95 Encryption speed (Mbps): 2042.11 Overhead: 3.1% Encrypted 40 packets of 1500 bytes (under 1 keys, 40 packets/key) Total time: 675632 clock ticks (241.81 usec) Encryption speed (cycles/packet): 16890.80 Encryption speed (cycles/byte): 11.26 Encryption speed (Mbps): 1985.03 Overhead: 6.1% Weighted average (Simple Imix): Encryption speed (cycles/byte): 12.50 Encryption speed (Mbps): 1788.86 Overhead: 17.7% Testing key setup speed: Did 7000 key setups (under 10 keys, 700 setups/key) Total time: 632272 clock ticks (226.29 usec) Key setup speed (cycles/setup): 90.32 Key setup speed (setups/second): 30933587.13 Testing IV setup speed: Did 6000 IV setups (under 10 keys, 600 setups/key) Total time: 469992 clock ticks (168.21 usec) IV setup speed (cycles/setup): 78.33 IV setup speed (setups/second): 35669496.50 Testing key agility: Encrypted 220 blocks of 256 bytes (each time switching contexts) Total time: 703988 clock ticks (251.96 usec) Encryption speed (cycles/byte): 12.50 Encryption speed (Mbps): 1788.23 Overhead: 17.7% End of performance measurements Primitive Name: Salsa20/12 ========================== Profile: S!_H. Key size: 256 bits IV size: 64 bits CPU speed: 2794.1 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 64 bytes Testing stream encryption speed: Encrypted 15 blocks of 4096 bytes (under 1 keys, 15 blocks/key) Total time: 652672 clock ticks (233.59 usec) Encryption speed (cycles/byte): 10.62 Encryption speed (Mbps): 2104.18 Testing packet encryption speed: Encrypted 500 packets of 40 bytes (under 10 keys, 50 packets/key) Total time: 637236 clock ticks (228.07 usec) Encryption speed (cycles/packet): 1274.47 Encryption speed (cycles/byte): 31.86 Encryption speed (Mbps): 701.55 Overhead: 199.9% Encrypted 110 packets of 576 bytes (under 10 keys, 11 packets/key) Total time: 694248 clock ticks (248.47 usec) Encryption speed (cycles/packet): 6311.35 Encryption speed (cycles/byte): 10.96 Encryption speed (Mbps): 2039.98 Overhead: 3.1% Encrypted 40 packets of 1500 bytes (under 1 keys, 40 packets/key) Total time: 674920 clock ticks (241.56 usec) Encryption speed (cycles/packet): 16873.00 Encryption speed (cycles/byte): 11.25 Encryption speed (Mbps): 1987.12 Overhead: 5.9% Weighted average (Simple Imix): Encryption speed (cycles/byte): 12.50 Encryption speed (Mbps): 1788.56 Overhead: 17.6% Testing key setup speed: Did 7000 key setups (under 10 keys, 700 setups/key) Total time: 637152 clock ticks (228.04 usec) Key setup speed (cycles/setup): 91.02 Key setup speed (setups/second): 30696664.22 Testing IV setup speed: Did 6000 IV setups (under 10 keys, 600 setups/key) Total time: 469992 clock ticks (168.21 usec) IV setup speed (cycles/setup): 78.33 IV setup speed (setups/second): 35669496.50 Testing key agility: Encrypted 220 blocks of 256 bytes (each time switching contexts) Total time: 694824 clock ticks (248.68 usec) Encryption speed (cycles/byte): 12.34 Encryption speed (Mbps): 1811.82 Overhead: 16.1% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Tue Jan 30 07:44:38 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 /freeware/gcc/linux-i386/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs Configured with: /freeware/gcc/gcc/gcc-3.3.3/configure --prefix=/freeware/gcc --exec-prefix=/freeware/gcc/linux-i386 --with-local-prefix=/freeware/gcc --enable-version-specific-runtime-libs --enable-languages=c++,f77,java --enable-threads=posix Thread model: posix gcc version 3.3.3 COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=gcc-V3.3.3_pentium-mmx_O3-ual-ofp gcc -V 3.3.3 -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../submissions/salsa20/reduced/12-rounds/x86-pm/../../../../../include -I../../../../../../submissions/salsa20/reduced/12-rounds/x86-pm -march=pentium-mmx -c -o salsa20_gcc_pentium-mmx.o ../../../../../../submissions/salsa20/reduced/12-rounds/x86-pm/salsa20.s gcc -V 3.3.3 -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=pentium-mmx ecrypt-test_gcc_pentium-mmx.o ecrypt-sync_gcc_pentium-mmx.o salsa20_gcc_pentium-mmx.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- c3de18e6b770e5c86e7abbd50f54aa92 -