******************************************************************************** * 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: 669233 clock ticks (36308.80 usec) Encryption speed (cycles/byte): 14774.12 Encryption speed (Mbps): 0.90 Testing packet encryption speed: Encrypted 1 packets of 40 bytes (under 1 keys, 1 packets/key) Total time: 6916 clock ticks (375.22 usec) Encryption speed (cycles/packet): 625373.08 Encryption speed (cycles/byte): 15634.33 Encryption speed (Mbps): 0.85 Overhead: 5.8% Encrypted 1 packets of 576 bytes (under 1 keys, 1 packets/key) Total time: 94166 clock ticks (5108.92 usec) Encryption speed (cycles/packet): 8514875.80 Encryption speed (cycles/byte): 14782.77 Encryption speed (Mbps): 0.90 Overhead: 0.1% Encrypted 1 packets of 1500 bytes (under 1 keys, 1 packets/key) Total time: 244292 clock ticks (13253.90 usec) Encryption speed (cycles/packet): 22089884.24 Encryption speed (cycles/byte): 14726.59 Encryption speed (Mbps): 0.91 Overhead: -0.3% Weighted average (Simple Imix): Encryption speed (cycles/byte): 14820.52 Encryption speed (Mbps): 0.90 Overhead: 0.3% Testing key setup speed: Did 10 key setups (under 1 keys, 10 setups/key) Total time: 4395 clock ticks (238.45 usec) Key setup speed (cycles/setup): 39741.39 Key setup speed (setups/second): 41937.89 Testing IV setup speed: Did 10 IV setups (under 1 keys, 10 setups/key) Total time: 4391 clock ticks (238.23 usec) IV setup speed (cycles/setup): 39705.22 IV setup speed (setups/second): 41976.09 Testing key agility: Encrypted 1 blocks of 256 bytes (each time switching contexts) Total time: 41584 clock ticks (2256.11 usec) Encryption speed (cycles/byte): 14688.26 Encryption speed (Mbps): 0.91 Overhead: -0.6% 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: 665686 clock ticks (36116.36 usec) Encryption speed (cycles/byte): 14695.81 Encryption speed (Mbps): 0.91 Testing packet encryption speed: Encrypted 1 packets of 40 bytes (under 1 keys, 1 packets/key) Total time: 6916 clock ticks (375.22 usec) Encryption speed (cycles/packet): 625373.08 Encryption speed (cycles/byte): 15634.33 Encryption speed (Mbps): 0.85 Overhead: 6.4% Encrypted 1 packets of 576 bytes (under 1 keys, 1 packets/key) Total time: 94229 clock ticks (5112.33 usec) Encryption speed (cycles/packet): 8520572.52 Encryption speed (cycles/byte): 14792.66 Encryption speed (Mbps): 0.90 Overhead: 0.7% Encrypted 1 packets of 1500 bytes (under 1 keys, 1 packets/key) Total time: 244282 clock ticks (13253.36 usec) Encryption speed (cycles/packet): 22088980.00 Encryption speed (cycles/byte): 14725.99 Encryption speed (Mbps): 0.91 Overhead: 0.2% Weighted average (Simple Imix): Encryption speed (cycles/byte): 14825.88 Encryption speed (Mbps): 0.90 Overhead: 0.9% Testing key setup speed: Did 10 key setups (under 1 keys, 10 setups/key) Total time: 4395 clock ticks (238.45 usec) Key setup speed (cycles/setup): 39741.39 Key setup speed (setups/second): 41937.89 Testing IV setup speed: Did 10 IV setups (under 1 keys, 10 setups/key) Total time: 4394 clock ticks (238.39 usec) IV setup speed (cycles/setup): 39732.35 IV setup speed (setups/second): 41947.43 Testing key agility: Encrypted 1 blocks of 256 bytes (each time switching contexts) Total time: 41542 clock ticks (2253.83 usec) Encryption speed (cycles/byte): 14673.43 Encryption speed (Mbps): 0.91 Overhead: -0.2% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Dec 29 22:22:12 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_G4_Os-ofp gcc -Wall -pedantic -ansi -Os -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../submissions/wg/long-iv/../../../include -I../../../../submissions/wg/long-iv -mcpu=G4 -c -o ecrypt-test_gcc_G4.o ../../../../submissions/wg/long-iv/../../../test/ecrypt-test.c In file included from ../../../../submissions/wg/long-iv/../../../include/ecrypt-portable.h:23, from ../../../../submissions/wg/long-iv/../../../test/ecrypt-test.c:14: ../../../../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/../../../test/ecrypt-test.c:14: ../../../../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 -Os -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../submissions/wg/long-iv/../../../include -I../../../../submissions/wg/long-iv -mcpu=G4 -c -o ecrypt-sync_gcc_G4.o ../../../../submissions/wg/long-iv/../../../api/ecrypt-sync.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/../../../api/ecrypt-sync.c:5: ../../../../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/../../../api/ecrypt-sync.c:5: ../../../../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 -Os -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../submissions/wg/long-iv/../../../include -I../../../../submissions/wg/long-iv -mcpu=G4 -c -o wg_gcc_G4.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 -Os -fomit-frame-pointer -mcpu=G4 ecrypt-test_gcc_G4.o ecrypt-sync_gcc_G4.o wg_gcc_G4.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- fe3b87ba1a3aa211c25c100386129996