******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Salsa20 ======================= 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 8 blocks of 4096 bytes (under 1 keys, 8 blocks/key) Total time: 383383 clock ticks (225.52 usec) Encryption speed (cycles/byte): 11.70 Encryption speed (Mbps): 1162.40 Testing packet encryption speed: Encrypted 350 packets of 40 bytes (under 10 keys, 35 packets/key) Total time: 410157 clock ticks (241.27 usec) Encryption speed (cycles/packet): 1171.88 Encryption speed (cycles/byte): 29.30 Encryption speed (Mbps): 464.21 Overhead: 150.4% Encrypted 60 packets of 576 bytes (under 1 keys, 60 packets/key) Total time: 411775 clock ticks (242.22 usec) Encryption speed (cycles/packet): 6862.92 Encryption speed (cycles/byte): 11.91 Encryption speed (Mbps): 1141.44 Overhead: 1.8% Encrypted 22 packets of 1500 bytes (under 1 keys, 22 packets/key) Total time: 403971 clock ticks (237.63 usec) Encryption speed (cycles/packet): 18362.32 Encryption speed (cycles/byte): 12.24 Encryption speed (Mbps): 1110.97 Overhead: 4.6% Weighted average (Simple Imix): Encryption speed (cycles/byte): 13.23 Encryption speed (Mbps): 1028.24 Overhead: 13.0% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 351799 clock ticks (206.94 usec) Key setup speed (cycles/setup): 43.97 Key setup speed (setups/second): 38658438.48 Testing IV setup speed: Did 9000 IV setups (under 10 keys, 900 setups/key) Total time: 291906 clock ticks (171.71 usec) IV setup speed (cycles/setup): 32.43 IV setup speed (setups/second): 52414133.32 Testing key agility: Encrypted 120 blocks of 256 bytes (each time switching contexts) Total time: 394394 clock ticks (232.00 usec) Encryption speed (cycles/byte): 12.84 Encryption speed (Mbps): 1059.33 Overhead: 9.7% End of performance measurements Primitive Name: Salsa20 ======================= 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 8 blocks of 4096 bytes (under 1 keys, 8 blocks/key) Total time: 383383 clock ticks (225.52 usec) Encryption speed (cycles/byte): 11.70 Encryption speed (Mbps): 1162.40 Testing packet encryption speed: Encrypted 350 packets of 40 bytes (under 10 keys, 35 packets/key) Total time: 410157 clock ticks (241.27 usec) Encryption speed (cycles/packet): 1171.88 Encryption speed (cycles/byte): 29.30 Encryption speed (Mbps): 464.21 Overhead: 150.4% Encrypted 60 packets of 576 bytes (under 1 keys, 60 packets/key) Total time: 411775 clock ticks (242.22 usec) Encryption speed (cycles/packet): 6862.92 Encryption speed (cycles/byte): 11.91 Encryption speed (Mbps): 1141.44 Overhead: 1.8% Encrypted 22 packets of 1500 bytes (under 1 keys, 22 packets/key) Total time: 403971 clock ticks (237.63 usec) Encryption speed (cycles/packet): 18362.32 Encryption speed (cycles/byte): 12.24 Encryption speed (Mbps): 1110.97 Overhead: 4.6% Weighted average (Simple Imix): Encryption speed (cycles/byte): 13.23 Encryption speed (Mbps): 1028.24 Overhead: 13.0% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 352382 clock ticks (207.28 usec) Key setup speed (cycles/setup): 44.05 Key setup speed (setups/second): 38594479.85 Testing IV setup speed: Did 9000 IV setups (under 10 keys, 900 setups/key) Total time: 291906 clock ticks (171.71 usec) IV setup speed (cycles/setup): 32.43 IV setup speed (setups/second): 52414133.32 Testing key agility: Encrypted 120 blocks of 256 bytes (each time switching contexts) Total time: 395159 clock ticks (232.45 usec) Encryption speed (cycles/byte): 12.86 Encryption speed (Mbps): 1057.28 Overhead: 9.9% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 07:55:50 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_pentium3_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/full/x86-xmm5/../../../../include -I../../../../../submissions/salsa20/full/x86-xmm5 -march=pentium3 -c -o ecrypt-test_gcc_pentium3.o ../../../../../submissions/salsa20/full/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/full/x86-xmm5/../../../../include -I../../../../../submissions/salsa20/full/x86-xmm5 -march=pentium3 -c -o ecrypt-sync_gcc_pentium3.o ../../../../../submissions/salsa20/full/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/full/x86-xmm5/../../../../include -I../../../../../submissions/salsa20/full/x86-xmm5 -march=pentium3 -c -o salsa20_gcc_pentium3.o ../../../../../submissions/salsa20/full/x86-xmm5/salsa20.s gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=pentium3 ecrypt-test_gcc_pentium3.o ecrypt-sync_gcc_pentium3.o salsa20_gcc_pentium3.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 73d9343c7ab40d41c8c6db27d275753f -