******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: HC-256 ====================== Profile: S!___ Key size: 128 bits IV size: 128 bits CPU speed: 2210.2 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 8396 bytes Testing stream encryption speed: Encrypted 27 blocks of 4096 bytes (under 1 keys, 27 blocks/key) Total time: 524584 clock ticks (237.35 usec) Encryption speed (cycles/byte): 4.74 Encryption speed (Mbps): 3727.62 Testing packet encryption speed: Encrypted 9 packets of 40 bytes (under 1 keys, 9 packets/key) Total time: 511692 clock ticks (231.51 usec) Encryption speed (cycles/packet): 56854.67 Encryption speed (cycles/byte): 1421.37 Encryption speed (Mbps): 12.44 Overhead: 29865.0% Encrypted 9 packets of 576 bytes (under 1 keys, 9 packets/key) Total time: 533428 clock ticks (241.35 usec) Encryption speed (cycles/packet): 59269.78 Encryption speed (cycles/byte): 102.90 Encryption speed (Mbps): 171.84 Overhead: 2069.3% Encrypted 8 packets of 1500 bytes (under 1 keys, 8 packets/key) Total time: 511756 clock ticks (231.54 usec) Encryption speed (cycles/packet): 63969.50 Encryption speed (cycles/byte): 42.65 Encryption speed (Mbps): 414.61 Overhead: 799.1% Weighted average (Simple Imix): Encryption speed (cycles/byte): 171.16 Encryption speed (Mbps): 103.30 Overhead: 3508.4% Testing key setup speed: Did 16000 key setups (under 100 keys, 160 setups/key) Total time: 601787 clock ticks (272.28 usec) Key setup speed (cycles/setup): 37.61 Key setup speed (setups/second): 58763914.81 Testing IV setup speed: Did 9 IV setups (under 1 keys, 9 setups/key) Total time: 507998 clock ticks (229.84 usec) IV setup speed (cycles/setup): 56444.22 IV setup speed (setups/second): 39157.42 Testing key agility: Encrypted 100 blocks of 256 bytes (each time switching contexts) Total time: 540257 clock ticks (244.44 usec) Encryption speed (cycles/byte): 21.10 Encryption speed (Mbps): 837.84 Overhead: 344.9% End of performance measurements Primitive Name: HC-256 ====================== 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: 8396 bytes Testing stream encryption speed: Encrypted 26 blocks of 4096 bytes (under 1 keys, 26 blocks/key) Total time: 504764 clock ticks (228.38 usec) Encryption speed (cycles/byte): 4.74 Encryption speed (Mbps): 3730.51 Testing packet encryption speed: Encrypted 9 packets of 40 bytes (under 1 keys, 9 packets/key) Total time: 511685 clock ticks (231.51 usec) Encryption speed (cycles/packet): 56853.89 Encryption speed (cycles/byte): 1421.35 Encryption speed (Mbps): 12.44 Overhead: 29887.8% Encrypted 9 packets of 576 bytes (under 1 keys, 9 packets/key) Total time: 533436 clock ticks (241.35 usec) Encryption speed (cycles/packet): 59270.67 Encryption speed (cycles/byte): 102.90 Encryption speed (Mbps): 171.83 Overhead: 2071.0% Encrypted 8 packets of 1500 bytes (under 1 keys, 8 packets/key) Total time: 511858 clock ticks (231.59 usec) Encryption speed (cycles/packet): 63982.25 Encryption speed (cycles/byte): 42.65 Encryption speed (Mbps): 414.53 Overhead: 799.9% Weighted average (Simple Imix): Encryption speed (cycles/byte): 171.17 Encryption speed (Mbps): 103.30 Overhead: 3511.3% Testing key setup speed: Did 20000 key setups (under 100 keys, 200 setups/key) Total time: 633226 clock ticks (286.50 usec) Key setup speed (cycles/setup): 31.66 Key setup speed (setups/second): 69807935.87 Testing IV setup speed: Did 9 IV setups (under 1 keys, 9 setups/key) Total time: 507937 clock ticks (229.81 usec) IV setup speed (cycles/setup): 56437.44 IV setup speed (setups/second): 39162.12 Testing key agility: Encrypted 100 blocks of 256 bytes (each time switching contexts) Total time: 540559 clock ticks (244.57 usec) Encryption speed (cycles/byte): 21.12 Encryption speed (Mbps): 837.38 Overhead: 345.5% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 21:58:28 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/hc-256/hc-256/200511/../../../../include -I../../../../../submissions/hc-256/hc-256/200511 -march=k8 -c -o ecrypt-test_gcc_k8.o ../../../../../submissions/hc-256/hc-256/200511/../../../../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/hc-256/hc-256/200511/../../../../include -I../../../../../submissions/hc-256/hc-256/200511 -march=k8 -c -o ecrypt-sync_gcc_k8.o ../../../../../submissions/hc-256/hc-256/200511/../../../../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/hc-256/hc-256/200511/../../../../include -I../../../../../submissions/hc-256/hc-256/200511 -march=k8 -c -o hc-256_gcc_k8.o ../../../../../submissions/hc-256/hc-256/200511/hc-256.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=k8 ecrypt-test_gcc_k8.o ecrypt-sync_gcc_k8.o hc-256_gcc_k8.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- d5f287089fa09753eb72bbdd2b4cdb49 -