******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Salsa20 ======================= 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 17 blocks of 4096 bytes (under 1 keys, 17 blocks/key) Total time: 531741 clock ticks (240.58 usec) Encryption speed (cycles/byte): 7.64 Encryption speed (Mbps): 2315.43 Testing packet encryption speed: Encrypted 800 packets of 40 bytes (under 10 keys, 80 packets/key) Total time: 567343 clock ticks (256.69 usec) Encryption speed (cycles/packet): 709.18 Encryption speed (cycles/byte): 17.73 Encryption speed (Mbps): 997.30 Overhead: 132.2% Encrypted 120 packets of 576 bytes (under 10 keys, 12 packets/key) Total time: 541063 clock ticks (244.80 usec) Encryption speed (cycles/packet): 4508.86 Encryption speed (cycles/byte): 7.83 Encryption speed (Mbps): 2258.81 Overhead: 2.5% Encrypted 46 packets of 1500 bytes (under 1 keys, 46 packets/key) Total time: 548556 clock ticks (248.19 usec) Encryption speed (cycles/packet): 11925.13 Encryption speed (cycles/byte): 7.95 Encryption speed (Mbps): 2224.09 Overhead: 4.1% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.55 Encryption speed (Mbps): 2067.64 Overhead: 12.0% 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 240 blocks of 256 bytes (each time switching contexts) Total time: 548431 clock ticks (248.14 usec) Encryption speed (cycles/byte): 8.93 Encryption speed (Mbps): 1980.86 Overhead: 16.9% End of performance measurements Primitive Name: Salsa20 ======================= 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 17 blocks of 4096 bytes (under 1 keys, 17 blocks/key) Total time: 531741 clock ticks (240.58 usec) Encryption speed (cycles/byte): 7.64 Encryption speed (Mbps): 2315.43 Testing packet encryption speed: Encrypted 800 packets of 40 bytes (under 10 keys, 80 packets/key) Total time: 540504 clock ticks (244.55 usec) Encryption speed (cycles/packet): 675.63 Encryption speed (cycles/byte): 16.89 Encryption speed (Mbps): 1046.83 Overhead: 121.2% Encrypted 120 packets of 576 bytes (under 10 keys, 12 packets/key) Total time: 537574 clock ticks (243.22 usec) Encryption speed (cycles/packet): 4479.78 Encryption speed (cycles/byte): 7.78 Encryption speed (Mbps): 2273.47 Overhead: 1.8% Encrypted 46 packets of 1500 bytes (under 1 keys, 46 packets/key) Total time: 547240 clock ticks (247.60 usec) Encryption speed (cycles/packet): 11896.52 Encryption speed (cycles/byte): 7.93 Encryption speed (Mbps): 2229.43 Overhead: 3.9% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.46 Encryption speed (Mbps): 2090.37 Overhead: 10.8% Testing key setup speed: Did 31000 key setups (under 100 keys, 310 setups/key) Total time: 1217082 clock ticks (550.66 usec) Key setup speed (cycles/setup): 39.26 Key setup speed (setups/second): 56295722.06 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 240 blocks of 256 bytes (each time switching contexts) Total time: 548518 clock ticks (248.17 usec) Encryption speed (cycles/byte): 8.93 Encryption speed (Mbps): 1980.54 Overhead: 16.9% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 22:29:46 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/full/amd64-3/../../../../include -I../../../../../submissions/salsa20/full/amd64-3 -march=nocona -c -o ecrypt-test_gcc_nocona.o ../../../../../submissions/salsa20/full/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/full/amd64-3/../../../../include -I../../../../../submissions/salsa20/full/amd64-3 -march=nocona -c -o ecrypt-sync_gcc_nocona.o ../../../../../submissions/salsa20/full/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/full/amd64-3/../../../../include -I../../../../../submissions/salsa20/full/amd64-3 -march=nocona -c -o salsa20_gcc_nocona.o ../../../../../submissions/salsa20/full/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: ------------------------------------------------------------------------------- 8153f7e96b552471a1878c98aa234b71 -