******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Py ================== Profile: S!___ Key size: 128 bits IV size: 64 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 4196 bytes Testing stream encryption speed: Encrypted 4 blocks of 32000 bytes (under 1 keys, 4 blocks/key) Total time: 364977 clock ticks (214.69 usec) Encryption speed (cycles/byte): 2.85 Encryption speed (Mbps): 4769.62 Testing packet encryption speed: Encrypted 60 packets of 40 bytes (under 1 keys, 60 packets/key) Total time: 313739 clock ticks (184.55 usec) Encryption speed (cycles/packet): 5228.98 Encryption speed (cycles/byte): 130.72 Encryption speed (Mbps): 104.04 Overhead: 4484.6% Encrypted 45 packets of 576 bytes (under 1 keys, 45 packets/key) Total time: 343192 clock ticks (201.88 usec) Encryption speed (cycles/packet): 7626.49 Encryption speed (cycles/byte): 13.24 Encryption speed (Mbps): 1027.16 Overhead: 364.4% Encrypted 31 packets of 1500 bytes (under 1 keys, 31 packets/key) Total time: 365571 clock ticks (215.04 usec) Encryption speed (cycles/packet): 11792.61 Encryption speed (cycles/byte): 7.86 Encryption speed (Mbps): 1729.90 Overhead: 175.7% Weighted average (Simple Imix): Encryption speed (cycles/byte): 19.32 Encryption speed (Mbps): 703.95 Overhead: 577.6% Testing key setup speed: Did 170 key setups (under 10 keys, 17 setups/key) Total time: 414296 clock ticks (243.70 usec) Key setup speed (cycles/setup): 2437.04 Key setup speed (setups/second): 697568.89 Testing IV setup speed: Did 90 IV setups (under 1 keys, 90 setups/key) Total time: 350229 clock ticks (206.02 usec) IV setup speed (cycles/setup): 3891.43 IV setup speed (setups/second): 436857.03 Testing key agility: Encrypted 50 blocks of 256 bytes (each time switching contexts) Total time: 426032 clock ticks (250.61 usec) Encryption speed (cycles/byte): 33.28 Encryption speed (Mbps): 408.61 Overhead: 1067.3% End of performance measurements Primitive Name: Py ================== Profile: S!___ Key size: 256 bits IV size: 128 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 4196 bytes Testing stream encryption speed: Encrypted 4 blocks of 32000 bytes (under 1 keys, 4 blocks/key) Total time: 364993 clock ticks (214.70 usec) Encryption speed (cycles/byte): 2.85 Encryption speed (Mbps): 4769.41 Testing packet encryption speed: Encrypted 60 packets of 40 bytes (under 1 keys, 60 packets/key) Total time: 345931 clock ticks (203.49 usec) Encryption speed (cycles/packet): 5765.52 Encryption speed (cycles/byte): 144.14 Encryption speed (Mbps): 94.35 Overhead: 4954.8% Encrypted 46 packets of 576 bytes (under 1 keys, 46 packets/key) Total time: 375459 clock ticks (220.86 usec) Encryption speed (cycles/packet): 8162.15 Encryption speed (cycles/byte): 14.17 Encryption speed (Mbps): 959.75 Overhead: 396.9% Encrypted 32 packets of 1500 bytes (under 1 keys, 32 packets/key) Total time: 394389 clock ticks (231.99 usec) Encryption speed (cycles/packet): 12324.66 Encryption speed (cycles/byte): 8.22 Encryption speed (Mbps): 1655.22 Overhead: 188.1% Weighted average (Simple Imix): Encryption speed (cycles/byte): 20.89 Encryption speed (Mbps): 650.90 Overhead: 632.7% Testing key setup speed: Did 150 key setups (under 10 keys, 15 setups/key) Total time: 401041 clock ticks (235.91 usec) Key setup speed (cycles/setup): 2673.61 Key setup speed (setups/second): 635845.21 Testing IV setup speed: Did 80 IV setups (under 1 keys, 80 setups/key) Total time: 354294 clock ticks (208.41 usec) IV setup speed (cycles/setup): 4428.68 IV setup speed (setups/second): 383861.99 Testing key agility: Encrypted 50 blocks of 256 bytes (each time switching contexts) Total time: 424244 clock ticks (249.56 usec) Encryption speed (cycles/byte): 33.14 Encryption speed (Mbps): 410.33 Overhead: 1062.3% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Tue Jan 16 06:34:55 CET 2007 CPU: ------------------------------------------------------------------------------- processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1700MHz stepping : 5 cpu MHz : 598.123 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 est tm2 bogomips : 3393.33 COMPILER: ------------------------------------------------------------------------------- Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=gcc_pentium4_O2-ofp gcc -Wall -pedantic -ansi -O2 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../submissions/py/py/../../../include -I../../../../../submissions/py/py -march=pentium4 -c -o py_gcc_pentium4.o ../../../../../submissions/py/py/py.c ../../../../../submissions/py/py/py.c: In function ‘ECRYPT_keysetup’: ../../../../../submissions/py/py/py.c:40: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:53: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:60: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:67: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c: In function ‘ECRYPT_ivsetup’: ../../../../../submissions/py/py/py.c:131: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:139: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c: In function ‘ECRYPT_process_bytes’: ../../../../../submissions/py/py/py.c:230: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:235: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:261: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:266: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:283: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:287: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c: In function ‘ECRYPT_keystream_bytes’: ../../../../../submissions/py/py/py.c:324: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:327: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:350: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:353: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:368: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c:372: warning: ISO C90 forbids mixed declarations and code ../../../../../submissions/py/py/py.c: In function ‘ECRYPT_init’: ../../../../../submissions/py/py/py.c:403: warning: ISO C90 forbids mixed declarations and code gcc -Wall -pedantic -ansi -O2 -fomit-frame-pointer -march=pentium4 ecrypt-test_gcc_pentium4.o ecrypt-sync_gcc_pentium4.o py_gcc_pentium4.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- c20c83d2e0a4e44fb2c9a225bd5fdedf -