******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Salsa20/12 ========================== Profile: S!_H. Key size: 128 bits IV size: 64 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 64 bytes Testing stream encryption speed: Encrypted 13 blocks of 4096 bytes (under 1 keys, 13 blocks/key) Total time: 403032 clock ticks (237.08 usec) Encryption speed (cycles/byte): 7.57 Encryption speed (Mbps): 1796.81 Testing packet encryption speed: Encrypted 460 packets of 40 bytes (under 10 keys, 46 packets/key) Total time: 409244 clock ticks (240.73 usec) Encryption speed (cycles/packet): 889.66 Encryption speed (cycles/byte): 22.24 Encryption speed (Mbps): 611.47 Overhead: 193.9% Encrypted 90 packets of 576 bytes (under 1 keys, 90 packets/key) Total time: 401229 clock ticks (236.02 usec) Encryption speed (cycles/packet): 4458.10 Encryption speed (cycles/byte): 7.74 Encryption speed (Mbps): 1757.16 Overhead: 2.3% Encrypted 35 packets of 1500 bytes (under 1 keys, 35 packets/key) Total time: 415920 clock ticks (244.66 usec) Encryption speed (cycles/packet): 11883.43 Encryption speed (cycles/byte): 7.92 Encryption speed (Mbps): 1716.68 Overhead: 4.7% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.80 Encryption speed (Mbps): 1545.27 Overhead: 16.3% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 373807 clock ticks (219.89 usec) Key setup speed (cycles/setup): 46.73 Key setup speed (setups/second): 36382411.24 Testing IV setup speed: Did 8000 IV setups (under 10 keys, 800 setups/key) Total time: 279175 clock ticks (164.22 usec) IV setup speed (cycles/setup): 34.90 IV setup speed (setups/second): 48714963.73 Testing key agility: Encrypted 190 blocks of 256 bytes (each time switching contexts) Total time: 424271 clock ticks (249.57 usec) Encryption speed (cycles/byte): 8.72 Encryption speed (Mbps): 1559.15 Overhead: 15.2% End of performance measurements Primitive Name: Salsa20/12 ========================== Profile: S!_H. Key size: 256 bits IV size: 64 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 64 bytes Testing stream encryption speed: Encrypted 13 blocks of 4096 bytes (under 1 keys, 13 blocks/key) Total time: 403075 clock ticks (237.10 usec) Encryption speed (cycles/byte): 7.57 Encryption speed (Mbps): 1796.62 Testing packet encryption speed: Encrypted 460 packets of 40 bytes (under 10 keys, 46 packets/key) Total time: 409244 clock ticks (240.73 usec) Encryption speed (cycles/packet): 889.66 Encryption speed (cycles/byte): 22.24 Encryption speed (Mbps): 611.47 Overhead: 193.8% Encrypted 90 packets of 576 bytes (under 1 keys, 90 packets/key) Total time: 401229 clock ticks (236.02 usec) Encryption speed (cycles/packet): 4458.10 Encryption speed (cycles/byte): 7.74 Encryption speed (Mbps): 1757.16 Overhead: 2.2% Encrypted 35 packets of 1500 bytes (under 1 keys, 35 packets/key) Total time: 415922 clock ticks (244.66 usec) Encryption speed (cycles/packet): 11883.49 Encryption speed (cycles/byte): 7.92 Encryption speed (Mbps): 1716.67 Overhead: 4.7% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.80 Encryption speed (Mbps): 1545.27 Overhead: 16.3% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 377095 clock ticks (221.82 usec) Key setup speed (cycles/setup): 47.14 Key setup speed (setups/second): 36065182.51 Testing IV setup speed: Did 8000 IV setups (under 10 keys, 800 setups/key) Total time: 279175 clock ticks (164.22 usec) IV setup speed (cycles/setup): 34.90 IV setup speed (setups/second): 48714963.73 Testing key agility: Encrypted 190 blocks of 256 bytes (each time switching contexts) Total time: 424243 clock ticks (249.55 usec) Encryption speed (cycles/byte): 8.72 Encryption speed (Mbps): 1559.26 Overhead: 15.2% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Tue Jan 16 01:21:06 CET 2007 CPU: ------------------------------------------------------------------------------- processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1700MHz stepping : 5 cpu MHz : 598.123 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 est tm2 bogomips : 3393.33 COMPILER: ------------------------------------------------------------------------------- Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=gcc_pentium4_O1-ofp gcc -Wall -pedantic -ansi -O1 -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=pentium4 -c -o ecrypt-test_gcc_pentium4.o ../../../../../../../submissions/salsa20/reduced/12-rounds/x86-pm/../../../../../test/ecrypt-test.c gcc -Wall -pedantic -ansi -O1 -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=pentium4 -c -o ecrypt-sync_gcc_pentium4.o ../../../../../../../submissions/salsa20/reduced/12-rounds/x86-pm/../../../../../api/ecrypt-sync.c gcc -Wall -pedantic -ansi -O1 -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=pentium4 -c -o salsa20_gcc_pentium4.o ../../../../../../../submissions/salsa20/reduced/12-rounds/x86-pm/salsa20.s gcc -Wall -pedantic -ansi -O1 -fomit-frame-pointer -march=pentium4 ecrypt-test_gcc_pentium4.o ecrypt-sync_gcc_pentium4.o salsa20_gcc_pentium4.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 2124317049033c3fc62c4999c57e59bf -