******************************************************************************** * 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: 531743 clock ticks (240.58 usec) Encryption speed (cycles/byte): 7.64 Encryption speed (Mbps): 2315.42 Testing packet encryption speed: Encrypted 800 packets of 40 bytes (under 10 keys, 80 packets/key) Total time: 523977 clock ticks (237.07 usec) Encryption speed (cycles/packet): 654.97 Encryption speed (cycles/byte): 16.37 Encryption speed (Mbps): 1079.84 Overhead: 114.4% Encrypted 120 packets of 576 bytes (under 10 keys, 12 packets/key) Total time: 534890 clock ticks (242.01 usec) Encryption speed (cycles/packet): 4457.42 Encryption speed (cycles/byte): 7.74 Encryption speed (Mbps): 2284.88 Overhead: 1.3% Encrypted 46 packets of 1500 bytes (under 1 keys, 46 packets/key) Total time: 546230 clock ticks (247.14 usec) Encryption speed (cycles/packet): 11874.57 Encryption speed (cycles/byte): 7.92 Encryption speed (Mbps): 2233.56 Overhead: 3.7% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.40 Encryption speed (Mbps): 2105.98 Overhead: 9.9% Testing key setup speed: Did 31000 key setups (under 100 keys, 310 setups/key) Total time: 761696 clock ticks (344.63 usec) Key setup speed (cycles/setup): 24.57 Key setup speed (setups/second): 89952566.38 Testing IV setup speed: Did 36000 IV setups (under 100 keys, 360 setups/key) Total time: 523531 clock ticks (236.87 usec) IV setup speed (cycles/setup): 14.54 IV setup speed (setups/second): 151982518.70 Testing key agility: Encrypted 240 blocks of 256 bytes (each time switching contexts) Total time: 549043 clock ticks (248.41 usec) Encryption speed (cycles/byte): 8.94 Encryption speed (Mbps): 1978.65 Overhead: 17.0% 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: 531740 clock ticks (240.58 usec) Encryption speed (cycles/byte): 7.64 Encryption speed (Mbps): 2315.44 Testing packet encryption speed: Encrypted 800 packets of 40 bytes (under 10 keys, 80 packets/key) Total time: 523977 clock ticks (237.07 usec) Encryption speed (cycles/packet): 654.97 Encryption speed (cycles/byte): 16.37 Encryption speed (Mbps): 1079.84 Overhead: 114.4% Encrypted 120 packets of 576 bytes (under 10 keys, 12 packets/key) Total time: 534905 clock ticks (242.02 usec) Encryption speed (cycles/packet): 4457.54 Encryption speed (cycles/byte): 7.74 Encryption speed (Mbps): 2284.81 Overhead: 1.3% Encrypted 46 packets of 1500 bytes (under 1 keys, 46 packets/key) Total time: 546230 clock ticks (247.14 usec) Encryption speed (cycles/packet): 11874.57 Encryption speed (cycles/byte): 7.92 Encryption speed (Mbps): 2233.56 Overhead: 3.7% Weighted average (Simple Imix): Encryption speed (cycles/byte): 8.40 Encryption speed (Mbps): 2105.95 Overhead: 9.9% Testing key setup speed: Did 31000 key setups (under 100 keys, 310 setups/key) Total time: 762006 clock ticks (344.77 usec) Key setup speed (cycles/setup): 24.58 Key setup speed (setups/second): 89915971.79 Testing IV setup speed: Did 36000 IV setups (under 100 keys, 360 setups/key) Total time: 523531 clock ticks (236.87 usec) IV setup speed (cycles/setup): 14.54 IV setup speed (setups/second): 151982518.70 Testing key agility: Encrypted 240 blocks of 256 bytes (each time switching contexts) Total time: 549366 clock ticks (248.56 usec) Encryption speed (cycles/byte): 8.94 Encryption speed (Mbps): 1977.48 Overhead: 17.1% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 22:17:04 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_default_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 -c -o ecrypt-test_gcc_default.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 -c -o ecrypt-sync_gcc_default.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 -c -o salsa20_gcc_default.o ../../../../../submissions/salsa20/full/amd64-3/salsa20.s gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer ecrypt-test_gcc_default.o ecrypt-sync_gcc_default.o salsa20_gcc_default.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 522f1d2ad7d9bf9f378d062f1ba3dbbe -