******************************************************************************** * 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: 393581 clock ticks (231.52 usec) Encryption speed (cycles/byte): 32.03 Encryption speed (Mbps): 424.61 Testing packet encryption speed: Encrypted 170 packets of 40 bytes (under 10 keys, 17 packets/key) Total time: 404356 clock ticks (237.86 usec) Encryption speed (cycles/packet): 2378.56 Encryption speed (cycles/byte): 59.46 Encryption speed (Mbps): 228.71 Overhead: 85.7% Encrypted 21 packets of 576 bytes (under 1 keys, 21 packets/key) Total time: 408820 clock ticks (240.48 usec) Encryption speed (cycles/packet): 19467.62 Encryption speed (cycles/byte): 33.80 Encryption speed (Mbps): 402.39 Overhead: 5.5% Encrypted 8 packets of 1500 bytes (under 1 keys, 8 packets/key) Total time: 391016 clock ticks (230.01 usec) Encryption speed (cycles/packet): 48877.00 Encryption speed (cycles/byte): 32.58 Encryption speed (Mbps): 417.37 Overhead: 1.7% Weighted average (Simple Imix): Encryption speed (cycles/byte): 35.11 Encryption speed (Mbps): 387.33 Overhead: 9.6% Testing key setup speed: Did 28000 key setups (under 100 keys, 280 setups/key) Total time: 445890 clock ticks (262.29 usec) Key setup speed (cycles/setup): 15.92 Key setup speed (setups/second): 106752786.56 Testing IV setup speed: Did 390 IV setups (under 10 keys, 39 setups/key) Total time: 412040 clock ticks (242.38 usec) IV setup speed (cycles/setup): 1056.51 IV setup speed (setups/second): 1609067.08 Testing key agility: Encrypted 47 blocks of 256 bytes (each time switching contexts) Total time: 421071 clock ticks (247.69 usec) Encryption speed (cycles/byte): 35.00 Encryption speed (Mbps): 388.62 Overhead: 9.3% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 08:05:34 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_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/grain/128/opt/../../../../include -I../../../../../submissions/grain/128/opt -march=k8 -c -o ecrypt-test_gcc_k8.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=k8 -c -o ecrypt-sync_gcc_k8.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=k8 -c -o grain-128_gcc_k8.o ../../../../../submissions/grain/128/opt/grain-128.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 grain-128_gcc_k8.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 39c022021282e9ca8d886ab1f6f2e4b9 -