******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: TRIVIUM ======================= Profile: ___H! Key size: 80 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 32 blocks of 4096 bytes (under 1 keys, 32 blocks/key) Total time: 542726 clock ticks (245.55 usec) Encryption speed (cycles/byte): 4.14 Encryption speed (Mbps): 4270.25 Testing packet encryption speed: Encrypted 600 packets of 40 bytes (under 10 keys, 60 packets/key) Total time: 481725 clock ticks (217.95 usec) Encryption speed (cycles/packet): 802.88 Encryption speed (cycles/byte): 20.07 Encryption speed (Mbps): 880.92 Overhead: 384.7% Encrypted 180 packets of 576 bytes (under 10 keys, 18 packets/key) Total time: 548419 clock ticks (248.13 usec) Encryption speed (cycles/packet): 3046.77 Encryption speed (cycles/byte): 5.29 Encryption speed (Mbps): 3342.77 Overhead: 27.7% Encrypted 70 packets of 1500 bytes (under 1 keys, 70 packets/key) Total time: 481857 clock ticks (218.01 usec) Encryption speed (cycles/packet): 6883.67 Encryption speed (cycles/byte): 4.59 Encryption speed (Mbps): 3852.96 Overhead: 10.8% Weighted average (Simple Imix): Encryption speed (cycles/byte): 6.05 Encryption speed (Mbps): 2924.64 Overhead: 46.0% Testing key setup speed: Did 19000 key setups (under 100 keys, 190 setups/key) Total time: 624558 clock ticks (282.58 usec) Key setup speed (cycles/setup): 32.87 Key setup speed (setups/second): 67237934.67 Testing IV setup speed: Did 900 IV setups (under 10 keys, 90 setups/key) Total time: 532456 clock ticks (240.91 usec) IV setup speed (cycles/setup): 591.62 IV setup speed (setups/second): 3735874.89 Testing key agility: Encrypted 390 blocks of 256 bytes (each time switching contexts) Total time: 543354 clock ticks (245.84 usec) Encryption speed (cycles/byte): 5.44 Encryption speed (Mbps): 3248.97 Overhead: 31.4% End of performance measurements Primitive Name: TRIVIUM ======================= Profile: ___H! Key size: 80 bits IV size: 80 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 32 blocks of 4096 bytes (under 1 keys, 32 blocks/key) Total time: 542726 clock ticks (245.55 usec) Encryption speed (cycles/byte): 4.14 Encryption speed (Mbps): 4270.25 Testing packet encryption speed: Encrypted 600 packets of 40 bytes (under 10 keys, 60 packets/key) Total time: 486149 clock ticks (219.96 usec) Encryption speed (cycles/packet): 810.25 Encryption speed (cycles/byte): 20.26 Encryption speed (Mbps): 872.90 Overhead: 389.2% Encrypted 180 packets of 576 bytes (under 10 keys, 18 packets/key) Total time: 547343 clock ticks (247.64 usec) Encryption speed (cycles/packet): 3040.79 Encryption speed (cycles/byte): 5.28 Encryption speed (Mbps): 3349.34 Overhead: 27.5% Encrypted 70 packets of 1500 bytes (under 1 keys, 70 packets/key) Total time: 481443 clock ticks (217.83 usec) Encryption speed (cycles/packet): 6877.76 Encryption speed (cycles/byte): 4.59 Encryption speed (Mbps): 3856.27 Overhead: 10.7% Weighted average (Simple Imix): Encryption speed (cycles/byte): 6.05 Encryption speed (Mbps): 2922.06 Overhead: 46.1% Testing key setup speed: Did 18000 key setups (under 100 keys, 180 setups/key) Total time: 591688 clock ticks (267.71 usec) Key setup speed (cycles/setup): 32.87 Key setup speed (setups/second): 67237767.20 Testing IV setup speed: Did 900 IV setups (under 10 keys, 90 setups/key) Total time: 527593 clock ticks (238.71 usec) IV setup speed (cycles/setup): 586.21 IV setup speed (setups/second): 3770309.69 Testing key agility: Encrypted 390 blocks of 256 bytes (each time switching contexts) Total time: 543298 clock ticks (245.81 usec) Encryption speed (cycles/byte): 5.44 Encryption speed (Mbps): 3249.30 Overhead: 31.4% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Mon Jan 29 22:05:09 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 -std=c99 -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../submissions/trivium/../../include -I../../../submissions/trivium -march=k8 -c -o ecrypt-test_gcc_k8.o ../../../submissions/trivium/../../test/ecrypt-test.c gcc -Wall -pedantic -std=c99 -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../submissions/trivium/../../include -I../../../submissions/trivium -march=k8 -c -o ecrypt-sync_gcc_k8.o ../../../submissions/trivium/../../api/ecrypt-sync.c gcc -Wall -pedantic -std=c99 -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../submissions/trivium/../../include -I../../../submissions/trivium -march=k8 -c -o trivium_gcc_k8.o ../../../submissions/trivium/trivium.c gcc -Wall -pedantic -std=c99 -O3 -funroll-all-loops -fomit-frame-pointer -march=k8 ecrypt-test_gcc_k8.o ecrypt-sync_gcc_k8.o trivium_gcc_k8.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 6ec5b2608902017467ed67d89f6880cd -