******************************************************************************** * 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: 531756 clock ticks (240.59 usec) Encryption speed (cycles/byte): 7.64 Encryption speed (Mbps): 2315.37 Testing packet encryption speed: Encrypted 800 packets of 40 bytes (under 10 keys, 80 packets/key) Total time: 515346 clock ticks (233.17 usec) Encryption speed (cycles/packet): 644.18 Encryption speed (cycles/byte): 16.10 Encryption speed (Mbps): 1097.93 Overhead: 110.9% Encrypted 120 packets of 576 bytes (under 10 keys, 12 packets/key) Total time: 534965 clock ticks (242.04 usec) Encryption speed (cycles/packet): 4458.04 Encryption speed (cycles/byte): 7.74 Encryption speed (Mbps): 2284.56 Overhead: 1.3% Encrypted 46 packets of 1500 bytes (under 1 keys, 46 packets/key) Total time: 545624 clock ticks (246.87 usec) Encryption speed (cycles/packet): 11861.39 Encryption speed (cycles/byte): 7.91 Encryption speed (Mbps): 2236.04 Overhead: 3.5% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.37 Encryption speed (Mbps): 2111.29 Overhead: 9.7% Testing key setup speed: Did 31000 key setups (under 100 keys, 310 setups/key) Total time: 761698 clock ticks (344.63 usec) Key setup speed (cycles/setup): 24.57 Key setup speed (setups/second): 89952330.19 Testing IV setup speed: Did 34000 IV setups (under 100 keys, 340 setups/key) Total time: 485932 clock ticks (219.86 usec) IV setup speed (cycles/setup): 14.29 IV setup speed (setups/second): 154645382.48 Testing key agility: Encrypted 240 blocks of 256 bytes (each time switching contexts) Total time: 548394 clock ticks (248.12 usec) Encryption speed (cycles/byte): 8.93 Encryption speed (Mbps): 1980.99 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: 531756 clock ticks (240.59 usec) Encryption speed (cycles/byte): 7.64 Encryption speed (Mbps): 2315.37 Testing packet encryption speed: Encrypted 800 packets of 40 bytes (under 10 keys, 80 packets/key) Total time: 515346 clock ticks (233.17 usec) Encryption speed (cycles/packet): 644.18 Encryption speed (cycles/byte): 16.10 Encryption speed (Mbps): 1097.93 Overhead: 110.9% Encrypted 120 packets of 576 bytes (under 10 keys, 12 packets/key) Total time: 534965 clock ticks (242.04 usec) Encryption speed (cycles/packet): 4458.04 Encryption speed (cycles/byte): 7.74 Encryption speed (Mbps): 2284.56 Overhead: 1.3% Encrypted 46 packets of 1500 bytes (under 1 keys, 46 packets/key) Total time: 545624 clock ticks (246.87 usec) Encryption speed (cycles/packet): 11861.39 Encryption speed (cycles/byte): 7.91 Encryption speed (Mbps): 2236.04 Overhead: 3.5% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.37 Encryption speed (Mbps): 2111.29 Overhead: 9.7% Testing key setup speed: Did 32000 key setups (under 100 keys, 320 setups/key) Total time: 785948 clock ticks (355.60 usec) Key setup speed (cycles/setup): 24.56 Key setup speed (setups/second): 89989057.80 Testing IV setup speed: Did 34000 IV setups (under 100 keys, 340 setups/key) Total time: 485932 clock ticks (219.86 usec) IV setup speed (cycles/setup): 14.29 IV setup speed (setups/second): 154645382.48 Testing key agility: Encrypted 240 blocks of 256 bytes (each time switching contexts) Total time: 548474 clock ticks (248.15 usec) Encryption speed (cycles/byte): 8.93 Encryption speed (Mbps): 1980.70 Overhead: 16.9% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 22:02:36 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_k8_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=k8 -c -o ecrypt-test_gcc_k8.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=k8 -c -o ecrypt-sync_gcc_k8.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=k8 -c -o salsa20_gcc_k8.o ../../../../../submissions/salsa20/full/amd64-3/salsa20.s gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=k8 ecrypt-test_gcc_k8.o ecrypt-sync_gcc_k8.o salsa20_gcc_k8.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- cc03db9392c897c425f7fbdf615ac0e1 -