******************************************************************************** * 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: 599584 clock ticks (32530.04 usec) Encryption speed (cycles/byte): 13236.53 Encryption speed (Mbps): 1.01 Testing packet encryption speed: Encrypted 1 packets of 40 bytes (under 1 keys, 1 packets/key) Total time: 6222 clock ticks (337.57 usec) Encryption speed (cycles/packet): 562618.75 Encryption speed (cycles/byte): 14065.47 Encryption speed (Mbps): 0.95 Overhead: 6.3% Encrypted 1 packets of 576 bytes (under 1 keys, 1 packets/key) Total time: 84581 clock ticks (4588.89 usec) Encryption speed (cycles/packet): 7648160.80 Encryption speed (cycles/byte): 13278.06 Encryption speed (Mbps): 1.00 Overhead: 0.3% Encrypted 1 packets of 1500 bytes (under 1 keys, 1 packets/key) Total time: 220148 clock ticks (11943.99 usec) Encryption speed (cycles/packet): 19906684.77 Encryption speed (cycles/byte): 13271.12 Encryption speed (Mbps): 1.00 Overhead: 0.3% Weighted average (Simple Imix): Encryption speed (cycles/byte): 13329.50 Encryption speed (Mbps): 1.00 Overhead: 0.7% Testing key setup speed: Did 11 key setups (under 1 keys, 11 setups/key) Total time: 4342 clock ticks (235.57 usec) Key setup speed (cycles/setup): 35692.86 Key setup speed (setups/second): 46694.78 Testing IV setup speed: Did 11 IV setups (under 1 keys, 11 setups/key) Total time: 4335 clock ticks (235.19 usec) IV setup speed (cycles/setup): 35635.32 IV setup speed (setups/second): 46770.18 Testing key agility: Encrypted 1 blocks of 256 bytes (each time switching contexts) Total time: 37474 clock ticks (2033.13 usec) Encryption speed (cycles/byte): 13236.53 Encryption speed (Mbps): 1.01 Overhead: 0.0% 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: 600051 clock ticks (32555.38 usec) Encryption speed (cycles/byte): 13246.84 Encryption speed (Mbps): 1.01 Testing packet encryption speed: Encrypted 1 packets of 40 bytes (under 1 keys, 1 packets/key) Total time: 6223 clock ticks (337.62 usec) Encryption speed (cycles/packet): 562709.17 Encryption speed (cycles/byte): 14067.73 Encryption speed (Mbps): 0.95 Overhead: 6.2% Encrypted 1 packets of 576 bytes (under 1 keys, 1 packets/key) Total time: 84574 clock ticks (4588.51 usec) Encryption speed (cycles/packet): 7647527.83 Encryption speed (cycles/byte): 13276.96 Encryption speed (Mbps): 1.00 Overhead: 0.2% Encrypted 1 packets of 1500 bytes (under 1 keys, 1 packets/key) Total time: 221062 clock ticks (11993.58 usec) Encryption speed (cycles/packet): 19989332.39 Encryption speed (cycles/byte): 13326.22 Encryption speed (Mbps): 1.00 Overhead: 0.6% Weighted average (Simple Imix): Encryption speed (cycles/byte): 13349.27 Encryption speed (Mbps): 1.00 Overhead: 0.8% Testing key setup speed: Did 11 key setups (under 1 keys, 11 setups/key) Total time: 4341 clock ticks (235.52 usec) Key setup speed (cycles/setup): 35684.64 Key setup speed (setups/second): 46705.53 Testing IV setup speed: Did 11 IV setups (under 1 keys, 11 setups/key) Total time: 4337 clock ticks (235.30 usec) IV setup speed (cycles/setup): 35651.76 IV setup speed (setups/second): 46748.61 Testing key agility: Encrypted 1 blocks of 256 bytes (each time switching contexts) Total time: 37420 clock ticks (2030.20 usec) Encryption speed (cycles/byte): 13217.46 Encryption speed (Mbps): 1.01 Overhead: -0.2% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Dec 29 23:25:29 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_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 -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 -O3 -fomit-frame-pointer -mcpu=G4 ecrypt-test_gcc_G4.o ecrypt-sync_gcc_G4.o wg_gcc_G4.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 79f925050d01a5c299121d2d5ff7c5b9