******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Py ================== Profile: SW Key size: 128 bits IV size: 64 bits CPU speed: 533.0 MHz Cycles are measured using MFTB instruction (assuming 16 clocks per tick) Testing memory requirements: Size of ECRYPT_ctx: 4196 bytes Testing stream encryption speed: Encrypted 1 blocks of 32000 bytes (under 1 keys, 1 blocks/key) Total time: 10718 clock ticks (321.74 usec) Encryption speed (cycles/byte): 5.36 Encryption speed (Mbps): 795.67 Testing packet encryption speed: Encrypted 18 packets of 40 bytes (under 1 keys, 18 packets/key) Total time: 7454 clock ticks (223.76 usec) Encryption speed (cycles/packet): 6625.78 Encryption speed (cycles/byte): 165.64 Encryption speed (Mbps): 25.74 Overhead: 2991.0% Encrypted 13 packets of 576 bytes (under 1 keys, 13 packets/key) Total time: 7673 clock ticks (230.33 usec) Encryption speed (cycles/packet): 9443.69 Encryption speed (cycles/byte): 16.40 Encryption speed (Mbps): 260.07 Overhead: 205.9% Encrypted 8 packets of 1500 bytes (under 1 keys, 8 packets/key) Total time: 7174 clock ticks (215.35 usec) Encryption speed (cycles/packet): 14348.00 Encryption speed (cycles/byte): 9.57 Encryption speed (Mbps): 445.78 Overhead: 78.5% Weighted average (Simple Imix): Encryption speed (cycles/byte): 24.12 Encryption speed (Mbps): 176.79 Overhead: 350.1% Testing key setup speed: Did 60 key setups (under 1 keys, 60 setups/key) Total time: 7301 clock ticks (219.17 usec) Key setup speed (cycles/setup): 1946.93 Key setup speed (setups/second): 273763.87 Testing IV setup speed: Did 27 IV setups (under 1 keys, 27 setups/key) Total time: 6957 clock ticks (208.84 usec) IV setup speed (cycles/setup): 4122.67 IV setup speed (setups/second): 129285.25 Testing key agility: Encrypted 17 blocks of 256 bytes (each time switching contexts) Total time: 8560 clock ticks (256.96 usec) Encryption speed (cycles/byte): 31.47 Encryption speed (Mbps): 135.49 Overhead: 487.2% End of performance measurements Primitive Name: Py ================== Profile: SW Key size: 256 bits IV size: 128 bits CPU speed: 533.0 MHz Cycles are measured using MFTB instruction (assuming 16 clocks per tick) Testing memory requirements: Size of ECRYPT_ctx: 4196 bytes Testing stream encryption speed: Encrypted 1 blocks of 32000 bytes (under 1 keys, 1 blocks/key) Total time: 10715 clock ticks (321.65 usec) Encryption speed (cycles/byte): 5.36 Encryption speed (Mbps): 795.89 Testing packet encryption speed: Encrypted 17 packets of 40 bytes (under 1 keys, 17 packets/key) Total time: 7192 clock ticks (215.89 usec) Encryption speed (cycles/packet): 6768.94 Encryption speed (cycles/byte): 169.22 Encryption speed (Mbps): 25.20 Overhead: 3058.6% Encrypted 12 packets of 576 bytes (under 1 keys, 12 packets/key) Total time: 7192 clock ticks (215.89 usec) Encryption speed (cycles/packet): 9589.33 Encryption speed (cycles/byte): 16.65 Encryption speed (Mbps): 256.12 Overhead: 210.7% Encrypted 8 packets of 1500 bytes (under 1 keys, 8 packets/key) Total time: 7246 clock ticks (217.52 usec) Encryption speed (cycles/packet): 14492.00 Encryption speed (cycles/byte): 9.66 Encryption speed (Mbps): 441.35 Overhead: 80.3% Weighted average (Simple Imix): Encryption speed (cycles/byte): 24.54 Encryption speed (Mbps): 173.74 Overhead: 358.1% Testing key setup speed: Did 60 key setups (under 1 keys, 60 setups/key) Total time: 7932 clock ticks (238.11 usec) Key setup speed (cycles/setup): 2115.20 Key setup speed (setups/second): 251985.63 Testing IV setup speed: Did 26 IV setups (under 1 keys, 26 setups/key) Total time: 6934 clock ticks (208.15 usec) IV setup speed (cycles/setup): 4267.08 IV setup speed (setups/second): 124909.86 Testing key agility: Encrypted 17 blocks of 256 bytes (each time switching contexts) Total time: 8554 clock ticks (256.78 usec) Encryption speed (cycles/byte): 31.45 Encryption speed (Mbps): 135.59 Overhead: 487.0% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Tue Nov 8 03:35:15 CST 2005 CPU: ------------------------------------------------------------------------------- processor : 0 cpu : 7410, altivec supported temperature : 55-57 C (uncalibrated) clock : 533MHz revision : 0.3 (pvr 800c 1103) bogomips : 1060.86 processor : 1 cpu : 7410, altivec supported temperature : 26-28 C (uncalibrated) clock : 533MHz revision : 0.3 (pvr 800c 1103) bogomips : 1060.86 total bogomips : 2121.72 machine : PowerMac3,4 motherboard : PowerMac3,4 MacRISC2 MacRISC Power Macintosh detected as : 69 (PowerMac G4 Silver) pmac flags : 00000010 L2 cache : 1024K unified memory : 256MB pmac-generation : NewWorld COMPILER: ------------------------------------------------------------------------------- Reading specs from /usr/lib/gcc/powerpc-linux-gnu/3.4.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,f77,pascal,objc,ada --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --disable-softfloat powerpc-linux-gnu Thread model: posix gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8) COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=gcc-3.4_default_O3-ofp gcc-3.4 -Wall -pedantic -ansi -O3 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../submissions/py/py/../../../include -I../../../../submissions/py/py -c -o py_gcc_default.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-3.4 -Wall -pedantic -ansi -O3 -fomit-frame-pointer ecrypt-test_gcc_default.o ecrypt-sync_gcc_default.o py_gcc_default.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- ed7cfa351502731ad9420c32c8a7e425 -