******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: WG ================== Profile: HW Key size: 128 bits IV size: 80 bits CPU speed: 1666.7 MHz Cycles are measured using MFTB instruction (assuming 90.4241 clocks per tick) Testing memory requirements: Size of ECRYPT_ctx: 68 bytes Testing stream encryption speed: Encrypted 1 blocks of 4096 bytes (under 1 keys, 1 blocks/key) Total time: 667807 clock ticks (36231.44 usec) Encryption speed (cycles/byte): 14742.64 Encryption speed (Mbps): 0.90 Testing packet encryption speed: Encrypted 1 packets of 40 bytes (under 1 keys, 1 packets/key) Total time: 6934 clock ticks (376.20 usec) Encryption speed (cycles/packet): 627000.71 Encryption speed (cycles/byte): 15675.02 Encryption speed (Mbps): 0.85 Overhead: 6.3% Encrypted 1 packets of 576 bytes (under 1 keys, 1 packets/key) Total time: 94111 clock ticks (5105.93 usec) Encryption speed (cycles/packet): 8509902.48 Encryption speed (cycles/byte): 14774.14 Encryption speed (Mbps): 0.90 Overhead: 0.2% Encrypted 1 packets of 1500 bytes (under 1 keys, 1 packets/key) Total time: 244662 clock ticks (13273.98 usec) Encryption speed (cycles/packet): 22123341.15 Encryption speed (cycles/byte): 14748.89 Encryption speed (Mbps): 0.90 Overhead: 0.0% Weighted average (Simple Imix): Encryption speed (cycles/byte): 14826.63 Encryption speed (Mbps): 0.90 Overhead: 0.6% Testing key setup speed: Did 10 key setups (under 1 keys, 10 setups/key) Total time: 4402 clock ticks (238.83 usec) Key setup speed (cycles/setup): 39804.69 Key setup speed (setups/second): 41871.20 Testing IV setup speed: Did 10 IV setups (under 1 keys, 10 setups/key) Total time: 4398 clock ticks (238.61 usec) IV setup speed (cycles/setup): 39768.52 IV setup speed (setups/second): 41909.28 Testing key agility: Encrypted 1 blocks of 256 bytes (each time switching contexts) Total time: 41622 clock ticks (2258.17 usec) Encryption speed (cycles/byte): 14701.69 Encryption speed (Mbps): 0.91 Overhead: -0.3% End of performance measurements Primitive Name: WG ================== Profile: HW Key size: 128 bits IV size: 128 bits CPU speed: 1666.7 MHz Cycles are measured using MFTB instruction (assuming 90.4241 clocks per tick) Testing memory requirements: Size of ECRYPT_ctx: 68 bytes Testing stream encryption speed: Encrypted 1 blocks of 4096 bytes (under 1 keys, 1 blocks/key) Total time: 667501 clock ticks (36214.83 usec) Encryption speed (cycles/byte): 14735.88 Encryption speed (Mbps): 0.90 Testing packet encryption speed: Encrypted 1 packets of 40 bytes (under 1 keys, 1 packets/key) Total time: 6935 clock ticks (376.25 usec) Encryption speed (cycles/packet): 627091.13 Encryption speed (cycles/byte): 15677.28 Encryption speed (Mbps): 0.85 Overhead: 6.4% Encrypted 1 packets of 576 bytes (under 1 keys, 1 packets/key) Total time: 94234 clock ticks (5112.60 usec) Encryption speed (cycles/packet): 8521024.64 Encryption speed (cycles/byte): 14793.45 Encryption speed (Mbps): 0.90 Overhead: 0.4% Encrypted 1 packets of 1500 bytes (under 1 keys, 1 packets/key) Total time: 245528 clock ticks (13320.96 usec) Encryption speed (cycles/packet): 22201648.42 Encryption speed (cycles/byte): 14801.10 Encryption speed (Mbps): 0.90 Overhead: 0.4% Weighted average (Simple Imix): Encryption speed (cycles/byte): 14856.85 Encryption speed (Mbps): 0.90 Overhead: 0.8% Testing key setup speed: Did 10 key setups (under 1 keys, 10 setups/key) Total time: 4403 clock ticks (238.88 usec) Key setup speed (cycles/setup): 39813.73 Key setup speed (setups/second): 41861.69 Testing IV setup speed: Did 10 IV setups (under 1 keys, 10 setups/key) Total time: 4401 clock ticks (238.77 usec) IV setup speed (cycles/setup): 39795.65 IV setup speed (setups/second): 41880.71 Testing key agility: Encrypted 1 blocks of 256 bytes (each time switching contexts) Total time: 41568 clock ticks (2255.24 usec) Encryption speed (cycles/byte): 14682.61 Encryption speed (Mbps): 0.91 Overhead: -0.4% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Dec 29 23:07:10 CET 2005 CPU: ------------------------------------------------------------------------------- hw.ncpu: 1 hw.byteorder: 4321 hw.memsize: 1073741824 hw.activecpu: 1 hw.physicalcpu: 1 hw.physicalcpu_max: 1 hw.logicalcpu: 1 hw.logicalcpu_max: 1 hw.cputype: 18 hw.cpusubtype: 11 hw.pagesize: 4096 hw.busfrequency: 166483989 hw.busfrequency_min: 166483989 hw.busfrequency_max: 166483989 hw.cpufrequency: 1666666660 hw.cpufrequency_min: 1666666660 hw.cpufrequency_max: 1666666660 hw.cachelinesize: 32 hw.l1icachesize: 32768 hw.l1dcachesize: 32768 hw.l2cachesize: 524288 hw.tbfrequency: 18431666 hw.optional.floatingpoint: 1 hw.optional.altivec: 1 hw.optional.graphicsops: 1 hw.optional.stfiwx: 1 hw.optional.dcba: 0 hw.optional.datastreams: 1 hw.machine = Power Macintosh hw.model = PowerBook5,6 hw.ncpu = 1 hw.byteorder = 4321 hw.physmem = 1073741824 hw.usermem = 972554240 hw.pagesize = 4096 hw.epoch = 1 hw.vectorunit = 1 hw.busfrequency = 166483989 hw.cpufrequency = 1666666660 hw.cachelinesize = 32 hw.l1icachesize = 32768 hw.l1dcachesize = 32768 hw.l2settings = 2147483648 hw.l2cachesize = 524288 hw.tbfrequency = 18431666 hw.memsize = 1073741824 hw.availcpu = 1 COMPILER: ------------------------------------------------------------------------------- Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061) COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=gcc_default_O3-ofp gcc -Wall -pedantic -ansi -O3 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../submissions/wg/long-iv/../../../include -I../../../../submissions/wg/long-iv -c -o wg_gcc_default.o ../../../../submissions/wg/long-iv/wg.c In file included from ../../../../submissions/wg/long-iv/../../../include/ecrypt-portable.h:23, from ../../../../submissions/wg/long-iv/ecrypt-sync.h:13, from ../../../../submissions/wg/long-iv/wg.c:7: ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:224:6: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:224:19: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:224:28: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:235:6: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:235:19: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:235:29: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:241:6: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:241:19: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:241:31: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:247:6: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:247:19: warning: use of C99 long long integer constant ../../../../submissions/wg/long-iv/../../../include/ecrypt-config.h:247:35: warning: use of C99 long long integer constant In file included from ../../../../submissions/wg/long-iv/ecrypt-sync.h:13, from ../../../../submissions/wg/long-iv/wg.c:7: ../../../../submissions/wg/long-iv/../../../include/ecrypt-portable.h:59: warning: ISO C90 does not support 'long long' ../../../../submissions/wg/long-iv/../../../include/ecrypt-portable.h:60: warning: ISO C90 does not support 'long long' gcc -Wall -pedantic -ansi -O3 -fomit-frame-pointer ecrypt-test_gcc_default.o ecrypt-sync_gcc_default.o wg_gcc_default.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 59b385eb34142484d775a87ab97a6931