******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Py ================== Profile: S!___ 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: 4196 bytes Testing stream encryption speed: Encrypted 4 blocks of 32000 bytes (under 1 keys, 4 blocks/key) Total time: 524180 clock ticks (237.16 usec) Encryption speed (cycles/byte): 4.10 Encryption speed (Mbps): 4317.71 Testing packet encryption speed: Encrypted 90 packets of 40 bytes (under 1 keys, 90 packets/key) Total time: 465050 clock ticks (210.41 usec) Encryption speed (cycles/packet): 5167.22 Encryption speed (cycles/byte): 129.18 Encryption speed (Mbps): 136.88 Overhead: 3054.5% Encrypted 60 packets of 576 bytes (under 1 keys, 60 packets/key) Total time: 445445 clock ticks (201.54 usec) Encryption speed (cycles/packet): 7424.08 Encryption speed (cycles/byte): 12.89 Encryption speed (Mbps): 1371.84 Overhead: 214.7% Encrypted 46 packets of 1500 bytes (under 1 keys, 46 packets/key) Total time: 523633 clock ticks (236.92 usec) Encryption speed (cycles/packet): 11383.33 Encryption speed (cycles/byte): 7.59 Encryption speed (Mbps): 2329.94 Overhead: 85.3% Weighted average (Simple Imix): Encryption speed (cycles/byte): 18.92 Encryption speed (Mbps): 934.78 Overhead: 361.9% Testing key setup speed: Did 240 key setups (under 10 keys, 24 setups/key) Total time: 538369 clock ticks (243.58 usec) Key setup speed (cycles/setup): 2243.20 Key setup speed (setups/second): 985291.50 Testing IV setup speed: Did 120 IV setups (under 10 keys, 12 setups/key) Total time: 505224 clock ticks (228.59 usec) IV setup speed (cycles/setup): 4210.20 IV setup speed (setups/second): 524965.56 Testing key agility: Encrypted 100 blocks of 256 bytes (each time switching contexts) Total time: 526530 clock ticks (238.23 usec) Encryption speed (cycles/byte): 20.57 Encryption speed (Mbps): 859.69 Overhead: 402.2% End of performance measurements Primitive Name: Py ================== Profile: S!___ Key size: 256 bits IV size: 128 bits CPU speed: 2210.2 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 4196 bytes Testing stream encryption speed: Encrypted 4 blocks of 32000 bytes (under 1 keys, 4 blocks/key) Total time: 524173 clock ticks (237.16 usec) Encryption speed (cycles/byte): 4.10 Encryption speed (Mbps): 4317.76 Testing packet encryption speed: Encrypted 90 packets of 40 bytes (under 1 keys, 90 packets/key) Total time: 477722 clock ticks (216.14 usec) Encryption speed (cycles/packet): 5308.02 Encryption speed (cycles/byte): 132.70 Encryption speed (Mbps): 133.24 Overhead: 3140.5% Encrypted 60 packets of 576 bytes (under 1 keys, 60 packets/key) Total time: 453876 clock ticks (205.35 usec) Encryption speed (cycles/packet): 7564.60 Encryption speed (cycles/byte): 13.13 Encryption speed (Mbps): 1346.36 Overhead: 220.7% Encrypted 45 packets of 1500 bytes (under 1 keys, 45 packets/key) Total time: 518663 clock ticks (234.67 usec) Encryption speed (cycles/packet): 11525.84 Encryption speed (cycles/byte): 7.68 Encryption speed (Mbps): 2301.13 Overhead: 87.6% Weighted average (Simple Imix): Encryption speed (cycles/byte): 19.33 Encryption speed (Mbps): 914.77 Overhead: 372.0% Testing key setup speed: Did 220 key setups (under 10 keys, 22 setups/key) Total time: 546747 clock ticks (247.37 usec) Key setup speed (cycles/setup): 2485.21 Key setup speed (setups/second): 889344.07 Testing IV setup speed: Did 120 IV setups (under 10 keys, 12 setups/key) Total time: 522063 clock ticks (236.21 usec) IV setup speed (cycles/setup): 4350.53 IV setup speed (setups/second): 508032.94 Testing key agility: Encrypted 100 blocks of 256 bytes (each time switching contexts) Total time: 526095 clock ticks (238.03 usec) Encryption speed (cycles/byte): 20.55 Encryption speed (Mbps): 860.40 Overhead: 401.8% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 22:01:34 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/py/py/../../../include -I../../../../submissions/py/py -march=k8 -c -o ecrypt-test_gcc_k8.o ../../../../submissions/py/py/../../../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/py/py/../../../include -I../../../../submissions/py/py -march=k8 -c -o ecrypt-sync_gcc_k8.o ../../../../submissions/py/py/../../../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/py/py/../../../include -I../../../../submissions/py/py -march=k8 -c -o py_gcc_k8.o ../../../../submissions/py/py/py.c ../../../../submissions/py/py/py.c: In function ‘ECRYPT_keysetup’: ../../../../submissions/py/py/py.c:40: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:53: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:60: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:67: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c: In function ‘ECRYPT_ivsetup’: ../../../../submissions/py/py/py.c:131: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:139: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c: In function ‘ECRYPT_process_bytes’: ../../../../submissions/py/py/py.c:230: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:235: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:261: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:266: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:283: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:287: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c: In function ‘ECRYPT_keystream_bytes’: ../../../../submissions/py/py/py.c:324: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:327: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:350: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:353: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:368: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c:372: warning: ISO C90 forbids mixed declarations and code ../../../../submissions/py/py/py.c: In function ‘ECRYPT_init’: ../../../../submissions/py/py/py.c:403: warning: ISO C90 forbids mixed declarations and code gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=k8 ecrypt-test_gcc_k8.o ecrypt-sync_gcc_k8.o py_gcc_k8.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 4ee1cfbb76779535aecb2bb67015cf28 -