******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Salsa20/12 ========================== Profile: S!_H. Key size: 128 bits IV size: 64 bits CPU speed: 2210.2 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 64 bytes Testing stream encryption speed: Encrypted 27 blocks of 4096 bytes (under 1 keys, 27 blocks/key) Total time: 536921 clock ticks (242.93 usec) Encryption speed (cycles/byte): 4.85 Encryption speed (Mbps): 3641.97 Testing packet encryption speed: Encrypted 1100 packets of 40 bytes (under 10 keys, 110 packets/key) Total time: 534144 clock ticks (241.67 usec) Encryption speed (cycles/packet): 485.59 Encryption speed (cycles/byte): 12.14 Encryption speed (Mbps): 1456.52 Overhead: 150.0% Encrypted 190 packets of 576 bytes (under 10 keys, 19 packets/key) Total time: 547124 clock ticks (247.54 usec) Encryption speed (cycles/packet): 2879.60 Encryption speed (cycles/byte): 5.00 Encryption speed (Mbps): 3536.83 Overhead: 3.0% Encrypted 70 packets of 1500 bytes (under 1 keys, 70 packets/key) Total time: 532862 clock ticks (241.09 usec) Encryption speed (cycles/packet): 7612.31 Encryption speed (cycles/byte): 5.07 Encryption speed (Mbps): 3484.16 Overhead: 4.5% Weighted average (Simple Imix): Encryption speed (cycles/byte): 5.52 Encryption speed (Mbps): 3205.17 Overhead: 13.6% Testing key setup speed: Did 31000 key setups (under 100 keys, 310 setups/key) Total time: 1217392 clock ticks (550.80 usec) Key setup speed (cycles/setup): 39.27 Key setup speed (setups/second): 56281386.77 Testing IV setup speed: Did 20000 IV setups (under 100 keys, 200 setups/key) Total time: 520624 clock ticks (235.55 usec) IV setup speed (cycles/setup): 26.03 IV setup speed (setups/second): 84906189.50 Testing key agility: Encrypted 350 blocks of 256 bytes (each time switching contexts) Total time: 549416 clock ticks (248.58 usec) Encryption speed (cycles/byte): 6.13 Encryption speed (Mbps): 2883.57 Overhead: 26.3% End of performance measurements Primitive Name: Salsa20/12 ========================== Profile: S!_H. Key size: 256 bits IV size: 64 bits CPU speed: 2210.2 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 64 bytes Testing stream encryption speed: Encrypted 27 blocks of 4096 bytes (under 1 keys, 27 blocks/key) Total time: 536921 clock ticks (242.93 usec) Encryption speed (cycles/byte): 4.85 Encryption speed (Mbps): 3641.97 Testing packet encryption speed: Encrypted 1100 packets of 40 bytes (under 10 keys, 110 packets/key) Total time: 534144 clock ticks (241.67 usec) Encryption speed (cycles/packet): 485.59 Encryption speed (cycles/byte): 12.14 Encryption speed (Mbps): 1456.52 Overhead: 150.0% Encrypted 190 packets of 576 bytes (under 10 keys, 19 packets/key) Total time: 547124 clock ticks (247.54 usec) Encryption speed (cycles/packet): 2879.60 Encryption speed (cycles/byte): 5.00 Encryption speed (Mbps): 3536.83 Overhead: 3.0% Encrypted 70 packets of 1500 bytes (under 1 keys, 70 packets/key) Total time: 532862 clock ticks (241.09 usec) Encryption speed (cycles/packet): 7612.31 Encryption speed (cycles/byte): 5.07 Encryption speed (Mbps): 3484.16 Overhead: 4.5% Weighted average (Simple Imix): Encryption speed (cycles/byte): 5.52 Encryption speed (Mbps): 3205.17 Overhead: 13.6% Testing key setup speed: Did 32000 key setups (under 100 keys, 320 setups/key) Total time: 1256662 clock ticks (568.57 usec) Key setup speed (cycles/setup): 39.27 Key setup speed (setups/second): 56281418.55 Testing IV setup speed: Did 20000 IV setups (under 100 keys, 200 setups/key) Total time: 520624 clock ticks (235.55 usec) IV setup speed (cycles/setup): 26.03 IV setup speed (setups/second): 84906189.50 Testing key agility: Encrypted 350 blocks of 256 bytes (each time switching contexts) Total time: 551167 clock ticks (249.37 usec) Encryption speed (cycles/byte): 6.15 Encryption speed (Mbps): 2874.41 Overhead: 26.7% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 22:30:27 CET 2007 CPU: ------------------------------------------------------------------------------- processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 75 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ stepping : 2 cpu MHz : 2210.210 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni cx16 lahf_lm cmp_legacy svm cr8_legacy bogomips : 4424.76 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 75 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ stepping : 2 cpu MHz : 2210.210 cache size : 512 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni cx16 lahf_lm cmp_legacy svm cr8_legacy bogomips : 4429.23 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc COMPILER: ------------------------------------------------------------------------------- Using built-in specs. Target: x86_64-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 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu Thread model: posix gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=gcc_nocona_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/12-rounds/amd64-3/../../../../../include -I../../../../../../submissions/salsa20/reduced/12-rounds/amd64-3 -march=nocona -c -o ecrypt-test_gcc_nocona.o ../../../../../../submissions/salsa20/reduced/12-rounds/amd64-3/../../../../../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/12-rounds/amd64-3/../../../../../include -I../../../../../../submissions/salsa20/reduced/12-rounds/amd64-3 -march=nocona -c -o ecrypt-sync_gcc_nocona.o ../../../../../../submissions/salsa20/reduced/12-rounds/amd64-3/../../../../../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/12-rounds/amd64-3/../../../../../include -I../../../../../../submissions/salsa20/reduced/12-rounds/amd64-3 -march=nocona -c -o salsa20_gcc_nocona.o ../../../../../../submissions/salsa20/reduced/12-rounds/amd64-3/salsa20.s gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=nocona ecrypt-test_gcc_nocona.o ecrypt-sync_gcc_nocona.o salsa20_gcc_nocona.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- f7fb426f2c87de9b248adedb6c3aeabd -