******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Salsa20/8 ========================= Profile: S3___ 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 19 blocks of 4096 bytes (under 1 keys, 19 blocks/key) Total time: 412750 clock ticks (242.79 usec) Encryption speed (cycles/byte): 5.30 Encryption speed (Mbps): 2564.28 Testing packet encryption speed: Encrypted 500 packets of 40 bytes (under 10 keys, 50 packets/key) Total time: 364767 clock ticks (214.57 usec) Encryption speed (cycles/packet): 729.53 Encryption speed (cycles/byte): 18.24 Encryption speed (Mbps): 745.68 Overhead: 243.9% Encrypted 130 packets of 576 bytes (under 10 keys, 13 packets/key) Total time: 410560 clock ticks (241.51 usec) Encryption speed (cycles/packet): 3158.15 Encryption speed (cycles/byte): 5.48 Encryption speed (Mbps): 2480.44 Overhead: 3.4% Encrypted 49 packets of 1500 bytes (under 1 keys, 49 packets/key) Total time: 413663 clock ticks (243.33 usec) Encryption speed (cycles/packet): 8442.10 Encryption speed (cycles/byte): 5.63 Encryption speed (Mbps): 2416.46 Overhead: 6.1% Weighted average (Simple Imix): Encryption speed (cycles/byte): 6.41 Encryption speed (Mbps): 2121.44 Overhead: 20.9% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 354438 clock ticks (208.49 usec) Key setup speed (cycles/setup): 44.30 Key setup speed (setups/second): 38370603.60 Testing IV setup speed: Did 9000 IV setups (under 10 keys, 900 setups/key) Total time: 292521 clock ticks (172.07 usec) IV setup speed (cycles/setup): 32.50 IV setup speed (setups/second): 52303937.15 Testing key agility: Encrypted 250 blocks of 256 bytes (each time switching contexts) Total time: 415959 clock ticks (244.68 usec) Encryption speed (cycles/byte): 6.50 Encryption speed (Mbps): 2092.51 Overhead: 22.5% End of performance measurements Primitive Name: Salsa20/8 ========================= Profile: S3___ 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 19 blocks of 4096 bytes (under 1 keys, 19 blocks/key) Total time: 412750 clock ticks (242.79 usec) Encryption speed (cycles/byte): 5.30 Encryption speed (Mbps): 2564.28 Testing packet encryption speed: Encrypted 500 packets of 40 bytes (under 10 keys, 50 packets/key) Total time: 364767 clock ticks (214.57 usec) Encryption speed (cycles/packet): 729.53 Encryption speed (cycles/byte): 18.24 Encryption speed (Mbps): 745.68 Overhead: 243.9% Encrypted 130 packets of 576 bytes (under 10 keys, 13 packets/key) Total time: 410560 clock ticks (241.51 usec) Encryption speed (cycles/packet): 3158.15 Encryption speed (cycles/byte): 5.48 Encryption speed (Mbps): 2480.44 Overhead: 3.4% Encrypted 49 packets of 1500 bytes (under 1 keys, 49 packets/key) Total time: 413663 clock ticks (243.33 usec) Encryption speed (cycles/packet): 8442.10 Encryption speed (cycles/byte): 5.63 Encryption speed (Mbps): 2416.46 Overhead: 6.1% Weighted average (Simple Imix): Encryption speed (cycles/byte): 6.41 Encryption speed (Mbps): 2121.44 Overhead: 20.9% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 352319 clock ticks (207.25 usec) Key setup speed (cycles/setup): 44.04 Key setup speed (setups/second): 38601381.13 Testing IV setup speed: Did 9000 IV setups (under 10 keys, 900 setups/key) Total time: 292521 clock ticks (172.07 usec) IV setup speed (cycles/setup): 32.50 IV setup speed (setups/second): 52303937.15 Testing key agility: Encrypted 250 blocks of 256 bytes (each time switching contexts) Total time: 415560 clock ticks (244.45 usec) Encryption speed (cycles/byte): 6.49 Encryption speed (Mbps): 2094.52 Overhead: 22.4% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 07:19:31 CET 2008 CPU: ------------------------------------------------------------------------------- processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1700MHz stepping : 5 cpu MHz : 1700.000 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 up est tm2 bogomips : 3391.40 clflush size : 64 COMPILER: ------------------------------------------------------------------------------- Using built-in specs. Target: i486-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 --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=gcc_pentium-m_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-xmm5/../../../../../include -I../../../../../../submissions/salsa20/reduced/8-rounds/x86-xmm5 -march=pentium-m -c -o ecrypt-test_gcc_pentium-m.o ../../../../../../submissions/salsa20/reduced/8-rounds/x86-xmm5/../../../../../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-xmm5/../../../../../include -I../../../../../../submissions/salsa20/reduced/8-rounds/x86-xmm5 -march=pentium-m -c -o ecrypt-sync_gcc_pentium-m.o ../../../../../../submissions/salsa20/reduced/8-rounds/x86-xmm5/../../../../../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-xmm5/../../../../../include -I../../../../../../submissions/salsa20/reduced/8-rounds/x86-xmm5 -march=pentium-m -c -o salsa20_gcc_pentium-m.o ../../../../../../submissions/salsa20/reduced/8-rounds/x86-xmm5/salsa20.s gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=pentium-m ecrypt-test_gcc_pentium-m.o ecrypt-sync_gcc_pentium-m.o salsa20_gcc_pentium-m.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 22f573fab07ff0c1271b492461868556 -