******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Grain-128 ========================= Profile: ___H3 Key size: 128 bits IV size: 96 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 8312 bytes Testing stream encryption speed: Encrypted 3 blocks of 4096 bytes (under 1 keys, 3 blocks/key) Total time: 398222 clock ticks (234.25 usec) Encryption speed (cycles/byte): 32.41 Encryption speed (Mbps): 419.66 Testing packet encryption speed: Encrypted 170 packets of 40 bytes (under 10 keys, 17 packets/key) Total time: 412682 clock ticks (242.75 usec) Encryption speed (cycles/packet): 2427.54 Encryption speed (cycles/byte): 60.69 Encryption speed (Mbps): 224.10 Overhead: 87.3% Encrypted 21 packets of 576 bytes (under 1 keys, 21 packets/key) Total time: 416576 clock ticks (245.04 usec) Encryption speed (cycles/packet): 19836.95 Encryption speed (cycles/byte): 34.44 Encryption speed (Mbps): 394.90 Overhead: 6.3% Encrypted 8 packets of 1500 bytes (under 1 keys, 8 packets/key) Total time: 397675 clock ticks (233.93 usec) Encryption speed (cycles/packet): 49709.38 Encryption speed (cycles/byte): 33.14 Encryption speed (Mbps): 410.39 Overhead: 2.3% Weighted average (Simple Imix): Encryption speed (cycles/byte): 35.76 Encryption speed (Mbps): 380.30 Overhead: 10.3% Testing key setup speed: Did 28000 key setups (under 100 keys, 280 setups/key) Total time: 439281 clock ticks (258.40 usec) Key setup speed (cycles/setup): 15.69 Key setup speed (setups/second): 108358886.45 Testing IV setup speed: Did 390 IV setups (under 10 keys, 39 setups/key) Total time: 419627 clock ticks (246.84 usec) IV setup speed (cycles/setup): 1075.97 IV setup speed (setups/second): 1579974.60 Testing key agility: Encrypted 46 blocks of 256 bytes (each time switching contexts) Total time: 418935 clock ticks (246.43 usec) Encryption speed (cycles/byte): 35.58 Encryption speed (Mbps): 382.29 Overhead: 9.8% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 07:13:45 CET 2008 CPU: ------------------------------------------------------------------------------- processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1700MHz stepping : 5 cpu MHz : 1700.000 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up est tm2 bogomips : 3391.40 clflush size : 64 COMPILER: ------------------------------------------------------------------------------- Using built-in specs. Target: i486-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 --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=gcc_pentium-m_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/grain/128/opt/../../../../include -I../../../../../submissions/grain/128/opt -march=pentium-m -c -o ecrypt-test_gcc_pentium-m.o ../../../../../submissions/grain/128/opt/../../../../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/grain/128/opt/../../../../include -I../../../../../submissions/grain/128/opt -march=pentium-m -c -o ecrypt-sync_gcc_pentium-m.o ../../../../../submissions/grain/128/opt/../../../../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/grain/128/opt/../../../../include -I../../../../../submissions/grain/128/opt -march=pentium-m -c -o grain-128_gcc_pentium-m.o ../../../../../submissions/grain/128/opt/grain-128.c gcc -Wall -pedantic -std=c99 -O3 -funroll-all-loops -fomit-frame-pointer -march=pentium-m ecrypt-test_gcc_pentium-m.o ecrypt-sync_gcc_pentium-m.o grain-128_gcc_pentium-m.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 32ba4b78bd43d94ac6d1317e24683598 -