******************************************************************************** * 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: 391645 clock ticks (230.38 usec) Encryption speed (cycles/byte): 31.87 Encryption speed (Mbps): 426.70 Testing packet encryption speed: Encrypted 170 packets of 40 bytes (under 10 keys, 17 packets/key) Total time: 405059 clock ticks (238.27 usec) Encryption speed (cycles/packet): 2382.70 Encryption speed (cycles/byte): 59.57 Encryption speed (Mbps): 228.31 Overhead: 86.9% Encrypted 21 packets of 576 bytes (under 1 keys, 21 packets/key) Total time: 407241 clock ticks (239.55 usec) Encryption speed (cycles/packet): 19392.43 Encryption speed (cycles/byte): 33.67 Encryption speed (Mbps): 403.95 Overhead: 5.6% Encrypted 8 packets of 1500 bytes (under 1 keys, 8 packets/key) Total time: 390566 clock ticks (229.74 usec) Encryption speed (cycles/packet): 48820.75 Encryption speed (cycles/byte): 32.55 Encryption speed (Mbps): 417.86 Overhead: 2.1% Weighted average (Simple Imix): Encryption speed (cycles/byte): 35.03 Encryption speed (Mbps): 388.22 Overhead: 9.9% Testing key setup speed: Did 23000 key setups (under 100 keys, 230 setups/key) Total time: 460061 clock ticks (270.62 usec) Key setup speed (cycles/setup): 20.00 Key setup speed (setups/second): 84988729.76 Testing IV setup speed: Did 390 IV setups (under 10 keys, 39 setups/key) Total time: 416930 clock ticks (245.25 usec) IV setup speed (cycles/setup): 1069.05 IV setup speed (setups/second): 1590195.00 Testing key agility: Encrypted 47 blocks of 256 bytes (each time switching contexts) Total time: 417488 clock ticks (245.58 usec) Encryption speed (cycles/byte): 34.70 Encryption speed (Mbps): 391.95 Overhead: 8.9% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 07:20:33 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_pentium4_O1-ofp gcc -Wall -pedantic -std=c99 -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../submissions/grain/128/opt/../../../../include -I../../../../../submissions/grain/128/opt -march=pentium4 -c -o ecrypt-test_gcc_pentium4.o ../../../../../submissions/grain/128/opt/../../../../test/ecrypt-test.c gcc -Wall -pedantic -std=c99 -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../submissions/grain/128/opt/../../../../include -I../../../../../submissions/grain/128/opt -march=pentium4 -c -o ecrypt-sync_gcc_pentium4.o ../../../../../submissions/grain/128/opt/../../../../api/ecrypt-sync.c gcc -Wall -pedantic -std=c99 -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../submissions/grain/128/opt/../../../../include -I../../../../../submissions/grain/128/opt -march=pentium4 -c -o grain-128_gcc_pentium4.o ../../../../../submissions/grain/128/opt/grain-128.c gcc -Wall -pedantic -std=c99 -O1 -fomit-frame-pointer -march=pentium4 ecrypt-test_gcc_pentium4.o ecrypt-sync_gcc_pentium4.o grain-128_gcc_pentium4.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- a36d07c6f6bab5adfbb6f5fa3028d81d -