******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: SFINKS ====================== Profile: HW Key size: 80 bits IV size: 80 bits MAC size: 64 bits CPU speed: 1666.7 MHz Cycles are measured using MFTB instruction (assuming 90.4241 clocks per tick) Testing memory requirements: Size of ECRYPT_AE_ctx: 1428 bytes Testing stream encryption speed: Encrypted 1 blocks of 4096 bytes (under 1 keys, 1 blocks/key) Total time: 323465 clock ticks (17549.38 usec) Encryption speed (cycles/byte): 7140.88 Encryption speed (Mbps): 1.87 Testing packet encryption speed: Encrypted 1 packets of 40 bytes (under 1 keys, 1 packets/key) Total time: 5120 clock ticks (277.78 usec) Encryption speed (cycles/packet): 462971.39 Encryption speed (cycles/byte): 11574.28 Encryption speed (Mbps): 1.15 Overhead: 62.1% Encrypted 1 packets of 576 bytes (under 1 keys, 1 packets/key) Total time: 47448 clock ticks (2574.26 usec) Encryption speed (cycles/packet): 4290442.70 Encryption speed (cycles/byte): 7448.69 Encryption speed (Mbps): 1.79 Overhead: 4.3% Encrypted 1 packets of 1500 bytes (under 1 keys, 1 packets/key) Total time: 120485 clock ticks (6536.84 usec) Encryption speed (cycles/packet): 10894747.69 Encryption speed (cycles/byte): 7263.17 Encryption speed (Mbps): 1.84 Overhead: 1.7% Weighted average (Simple Imix): Encryption speed (cycles/byte): 7663.40 Encryption speed (Mbps): 1.74 Overhead: 7.3% Testing key setup speed: Did 2600 key setups (under 10 keys, 260 setups/key) Total time: 4899 clock ticks (265.79 usec) Key setup speed (cycles/setup): 170.38 Key setup speed (setups/second): 9782082.74 Testing speed of IV setup + finalize: Did 2 IV setups (under 1 keys, 2 setups/key) Total time: 3972 clock ticks (215.50 usec) IV setup speed (cycles/setup): 179582.26 IV setup speed (setups/second): 9280.82 Testing key agility: Encrypted 1 blocks of 256 bytes (each time switching contexts) Total time: 20192 clock ticks (1095.50 usec) Encryption speed (cycles/byte): 7132.20 Encryption speed (Mbps): 1.87 Overhead: -0.1% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Dec 29 23:17:44 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-ual-ofp gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync-ae.h -DECRYPT_VARIANT=1 -I../../../../submissions/sfinks/sync-ae/../../../include -I../../../../submissions/sfinks/sync-ae -mcpu=G4 -c -o sfinks_gcc_G4.o ../../../../submissions/sfinks/sync-ae/sfinks.c In file included from ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-portable.h:23, from ../../../../submissions/sfinks/sync-ae/ecrypt-sync-ae.h:13, from ../../../../submissions/sfinks/sync-ae/sfinks.c:13: ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:224:6: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:224:19: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:224:28: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:235:6: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:235:19: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:235:29: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:241:6: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:241:19: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:241:31: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:247:6: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:247:19: warning: use of C99 long long integer constant ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-config.h:247:35: warning: use of C99 long long integer constant In file included from ../../../../submissions/sfinks/sync-ae/ecrypt-sync-ae.h:13, from ../../../../submissions/sfinks/sync-ae/sfinks.c:13: ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-portable.h:59: warning: ISO C90 does not support 'long long' ../../../../submissions/sfinks/sync-ae/../../../include/ecrypt-portable.h:60: warning: ISO C90 does not support 'long long' gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -mcpu=G4 ecrypt-test_gcc_G4.o ecrypt-sync-ae_gcc_G4.o sfinks_gcc_G4.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 767e6effb6220e6cd14009f260b6a1a5