******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Grain-v0 ======================== Profile: ___H3 Key size: 80 bits IV size: 64 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 652 bytes Testing stream encryption speed: Encrypted 1 blocks of 4096 bytes (under 1 keys, 1 blocks/key) Total time: 13066002 clock ticks (7685.88 usec) Encryption speed (cycles/byte): 3189.94 Encryption speed (Mbps): 4.26 Testing packet encryption speed: Encrypted 2 packets of 40 bytes (under 1 keys, 2 packets/key) Total time: 383538 clock ticks (225.61 usec) Encryption speed (cycles/packet): 191769.00 Encryption speed (cycles/byte): 4794.23 Encryption speed (Mbps): 2.84 Overhead: 50.3% Encrypted 1 packets of 576 bytes (under 1 keys, 1 packets/key) Total time: 1893107 clock ticks (1113.59 usec) Encryption speed (cycles/packet): 1893107.00 Encryption speed (cycles/byte): 3286.64 Encryption speed (Mbps): 4.14 Overhead: 3.0% Encrypted 1 packets of 1500 bytes (under 1 keys, 1 packets/key) Total time: 4845297 clock ticks (2850.17 usec) Encryption speed (cycles/packet): 4845297.00 Encryption speed (cycles/byte): 3230.20 Encryption speed (Mbps): 4.21 Overhead: 1.3% Weighted average (Simple Imix): Encryption speed (cycles/byte): 3369.27 Encryption speed (Mbps): 4.04 Overhead: 5.6% Testing key setup speed: Did 24000 key setups (under 100 keys, 240 setups/key) Total time: 431562 clock ticks (253.86 usec) Key setup speed (cycles/setup): 17.98 Key setup speed (setups/second): 94540297.80 Testing IV setup speed: Did 6 IV setups (under 1 keys, 6 setups/key) Total time: 381645 clock ticks (224.50 usec) IV setup speed (cycles/setup): 63607.50 IV setup speed (setups/second): 26726.41 Testing key agility: Encrypted 1 blocks of 256 bytes (each time switching contexts) Total time: 814527 clock ticks (479.13 usec) Encryption speed (cycles/byte): 3181.75 Encryption speed (Mbps): 4.27 Overhead: -0.3% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 07:58:09 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_pentium2_O1-ofp gcc -Wall -pedantic -ansi -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../submissions/grain/v0/../../../include -I../../../../submissions/grain/v0 -march=pentium2 -c -o ecrypt-test_gcc_pentium2.o ../../../../submissions/grain/v0/../../../test/ecrypt-test.c gcc -Wall -pedantic -ansi -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../submissions/grain/v0/../../../include -I../../../../submissions/grain/v0 -march=pentium2 -c -o ecrypt-sync_gcc_pentium2.o ../../../../submissions/grain/v0/../../../api/ecrypt-sync.c gcc -Wall -pedantic -ansi -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../submissions/grain/v0/../../../include -I../../../../submissions/grain/v0 -march=pentium2 -c -o grain_gcc_pentium2.o ../../../../submissions/grain/v0/grain.c gcc -Wall -pedantic -ansi -O1 -fomit-frame-pointer -march=pentium2 ecrypt-test_gcc_pentium2.o ecrypt-sync_gcc_pentium2.o grain_gcc_pentium2.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 92e41f78c6d2c6469e9c120c33fc2d76 -