******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Salsa20/8 ========================= 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 38 blocks of 4096 bytes (under 1 keys, 38 blocks/key) Total time: 539233 clock ticks (243.97 usec) Encryption speed (cycles/byte): 3.46 Encryption speed (Mbps): 5103.76 Testing packet encryption speed: Encrypted 1400 packets of 40 bytes (under 10 keys, 140 packets/key) Total time: 530606 clock ticks (240.07 usec) Encryption speed (cycles/packet): 379.00 Encryption speed (cycles/byte): 9.48 Encryption speed (Mbps): 1866.12 Overhead: 173.5% Encrypted 260 packets of 576 bytes (under 10 keys, 26 packets/key) Total time: 534495 clock ticks (241.83 usec) Encryption speed (cycles/packet): 2055.75 Encryption speed (cycles/byte): 3.57 Encryption speed (Mbps): 4954.22 Overhead: 3.0% Encrypted 100 packets of 1500 bytes (under 10 keys, 10 packets/key) Total time: 545645 clock ticks (246.87 usec) Encryption speed (cycles/packet): 5456.45 Encryption speed (cycles/byte): 3.64 Encryption speed (Mbps): 4860.76 Overhead: 5.0% Weighted average (Simple Imix): Encryption speed (cycles/byte): 4.00 Encryption speed (Mbps): 4421.37 Overhead: 15.4% 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 450 blocks of 256 bytes (each time switching contexts) Total time: 550762 clock ticks (249.19 usec) Encryption speed (cycles/byte): 4.78 Encryption speed (Mbps): 3698.38 Overhead: 38.0% End of performance measurements Primitive Name: Salsa20/8 ========================= 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 38 blocks of 4096 bytes (under 1 keys, 38 blocks/key) Total time: 539233 clock ticks (243.97 usec) Encryption speed (cycles/byte): 3.46 Encryption speed (Mbps): 5103.76 Testing packet encryption speed: Encrypted 1400 packets of 40 bytes (under 10 keys, 140 packets/key) Total time: 530606 clock ticks (240.07 usec) Encryption speed (cycles/packet): 379.00 Encryption speed (cycles/byte): 9.48 Encryption speed (Mbps): 1866.12 Overhead: 173.5% Encrypted 260 packets of 576 bytes (under 10 keys, 26 packets/key) Total time: 534495 clock ticks (241.83 usec) Encryption speed (cycles/packet): 2055.75 Encryption speed (cycles/byte): 3.57 Encryption speed (Mbps): 4954.22 Overhead: 3.0% Encrypted 100 packets of 1500 bytes (under 10 keys, 10 packets/key) Total time: 545645 clock ticks (246.87 usec) Encryption speed (cycles/packet): 5456.45 Encryption speed (cycles/byte): 3.64 Encryption speed (Mbps): 4860.76 Overhead: 5.0% Weighted average (Simple Imix): Encryption speed (cycles/byte): 4.00 Encryption speed (Mbps): 4421.37 Overhead: 15.4% 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 450 blocks of 256 bytes (each time switching contexts) Total time: 550787 clock ticks (249.20 usec) Encryption speed (cycles/byte): 4.78 Encryption speed (Mbps): 3698.22 Overhead: 38.0% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 22:04:00 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/reduced/8-rounds/amd64-3/../../../../../include -I../../../../../../submissions/salsa20/reduced/8-rounds/amd64-3 -march=k8 -c -o ecrypt-test_gcc_k8.o ../../../../../../submissions/salsa20/reduced/8-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/8-rounds/amd64-3/../../../../../include -I../../../../../../submissions/salsa20/reduced/8-rounds/amd64-3 -march=k8 -c -o ecrypt-sync_gcc_k8.o ../../../../../../submissions/salsa20/reduced/8-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/8-rounds/amd64-3/../../../../../include -I../../../../../../submissions/salsa20/reduced/8-rounds/amd64-3 -march=k8 -c -o salsa20_gcc_k8.o ../../../../../../submissions/salsa20/reduced/8-rounds/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: ------------------------------------------------------------------------------- 182ac55c1bf3e4e06b3c87dcac1911e2 -