******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Salsa20/8 ========================= 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 18 blocks of 4096 bytes (under 1 keys, 18 blocks/key) Total time: 405750 clock ticks (238.68 usec) Encryption speed (cycles/byte): 5.50 Encryption speed (Mbps): 2471.23 Testing packet encryption speed: Encrypted 500 packets of 40 bytes (under 10 keys, 50 packets/key) Total time: 376382 clock ticks (221.40 usec) Encryption speed (cycles/packet): 752.76 Encryption speed (cycles/byte): 18.82 Encryption speed (Mbps): 722.67 Overhead: 242.0% Encrypted 130 packets of 576 bytes (under 10 keys, 13 packets/key) Total time: 422894 clock ticks (248.76 usec) Encryption speed (cycles/packet): 3253.03 Encryption speed (cycles/byte): 5.65 Encryption speed (Mbps): 2408.09 Overhead: 2.6% Encrypted 47 packets of 1500 bytes (under 1 keys, 47 packets/key) Total time: 409017 clock ticks (240.60 usec) Encryption speed (cycles/packet): 8702.49 Encryption speed (cycles/byte): 5.80 Encryption speed (Mbps): 2344.16 Overhead: 5.4% Weighted average (Simple Imix): Encryption speed (cycles/byte): 6.61 Encryption speed (Mbps): 2058.35 Overhead: 20.1% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 351888 clock ticks (206.99 usec) Key setup speed (cycles/setup): 43.99 Key setup speed (setups/second): 38648660.94 Testing IV setup speed: Did 9000 IV setups (under 10 keys, 900 setups/key) Total time: 279283 clock ticks (164.28 usec) IV setup speed (cycles/setup): 31.03 IV setup speed (setups/second): 54783141.11 Testing key agility: Encrypted 240 blocks of 256 bytes (each time switching contexts) Total time: 408690 clock ticks (240.41 usec) Encryption speed (cycles/byte): 6.65 Encryption speed (Mbps): 2044.54 Overhead: 20.9% End of performance measurements Primitive Name: Salsa20/8 ========================= 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 18 blocks of 4096 bytes (under 1 keys, 18 blocks/key) Total time: 405789 clock ticks (238.70 usec) Encryption speed (cycles/byte): 5.50 Encryption speed (Mbps): 2470.99 Testing packet encryption speed: Encrypted 500 packets of 40 bytes (under 10 keys, 50 packets/key) Total time: 376380 clock ticks (221.40 usec) Encryption speed (cycles/packet): 752.76 Encryption speed (cycles/byte): 18.82 Encryption speed (Mbps): 722.67 Overhead: 241.9% Encrypted 130 packets of 576 bytes (under 10 keys, 13 packets/key) Total time: 422894 clock ticks (248.76 usec) Encryption speed (cycles/packet): 3253.03 Encryption speed (cycles/byte): 5.65 Encryption speed (Mbps): 2408.09 Overhead: 2.6% Encrypted 47 packets of 1500 bytes (under 1 keys, 47 packets/key) Total time: 409020 clock ticks (240.60 usec) Encryption speed (cycles/packet): 8702.55 Encryption speed (cycles/byte): 5.80 Encryption speed (Mbps): 2344.14 Overhead: 5.4% Weighted average (Simple Imix): Encryption speed (cycles/byte): 6.61 Encryption speed (Mbps): 2058.35 Overhead: 20.0% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 354252 clock ticks (208.38 usec) Key setup speed (cycles/setup): 44.28 Key setup speed (setups/second): 38390750.09 Testing IV setup speed: Did 9000 IV setups (under 10 keys, 900 setups/key) Total time: 279283 clock ticks (164.28 usec) IV setup speed (cycles/setup): 31.03 IV setup speed (setups/second): 54783141.11 Testing key agility: Encrypted 240 blocks of 256 bytes (each time switching contexts) Total time: 408339 clock ticks (240.20 usec) Encryption speed (cycles/byte): 6.65 Encryption speed (Mbps): 2046.30 Overhead: 20.8% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Tue Jan 16 02:17:10 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_pentiumpro_O3-ual-ofp gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../../submissions/salsa20/reduced/8-rounds/x86-pm/../../../../../include -I../../../../../../../submissions/salsa20/reduced/8-rounds/x86-pm -march=pentiumpro -c -o ecrypt-test_gcc_pentiumpro.o ../../../../../../../submissions/salsa20/reduced/8-rounds/x86-pm/../../../../../test/ecrypt-test.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../../submissions/salsa20/reduced/8-rounds/x86-pm/../../../../../include -I../../../../../../../submissions/salsa20/reduced/8-rounds/x86-pm -march=pentiumpro -c -o ecrypt-sync_gcc_pentiumpro.o ../../../../../../../submissions/salsa20/reduced/8-rounds/x86-pm/../../../../../api/ecrypt-sync.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../../submissions/salsa20/reduced/8-rounds/x86-pm/../../../../../include -I../../../../../../../submissions/salsa20/reduced/8-rounds/x86-pm -march=pentiumpro -c -o salsa20_gcc_pentiumpro.o ../../../../../../../submissions/salsa20/reduced/8-rounds/x86-pm/salsa20.s gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=pentiumpro ecrypt-test_gcc_pentiumpro.o ecrypt-sync_gcc_pentiumpro.o salsa20_gcc_pentiumpro.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 19ee148978d4c36574c1dc2dcac7afb6 -