******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: Grain ===================== Profile: HW Key size: 80 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: 652 bytes Testing stream encryption speed: Encrypted 1 blocks of 4096 bytes (under 1 keys, 1 blocks/key) Total time: 894339 clock ticks (26846.95 usec) Encryption speed (cycles/byte): 3493.51 Encryption speed (Mbps): 1.22 Testing packet encryption speed: Encrypted 1 packets of 40 bytes (under 1 keys, 1 packets/key) Total time: 13171 clock ticks (395.38 usec) Encryption speed (cycles/packet): 210736.00 Encryption speed (cycles/byte): 5268.40 Encryption speed (Mbps): 0.81 Overhead: 50.8% Encrypted 1 packets of 576 bytes (under 1 keys, 1 packets/key) Total time: 130160 clock ticks (3907.24 usec) Encryption speed (cycles/packet): 2082560.00 Encryption speed (cycles/byte): 3615.56 Encryption speed (Mbps): 1.18 Overhead: 3.5% Encrypted 1 packets of 1500 bytes (under 1 keys, 1 packets/key) Total time: 331462 clock ticks (9950.08 usec) Encryption speed (cycles/packet): 5303392.00 Encryption speed (cycles/byte): 3535.59 Encryption speed (Mbps): 1.21 Overhead: 1.2% Weighted average (Simple Imix): Encryption speed (cycles/byte): 3699.51 Encryption speed (Mbps): 1.15 Overhead: 5.9% Testing key setup speed: Did 8000 key setups (under 10 keys, 800 setups/key) Total time: 15459 clock ticks (464.06 usec) Key setup speed (cycles/setup): 30.92 Key setup speed (setups/second): 17239148.72 Testing IV setup speed: Did 1 IV setups (under 1 keys, 1 setups/key) Total time: 4466 clock ticks (134.06 usec) IV setup speed (cycles/setup): 71456.00 IV setup speed (setups/second): 7459.14 Testing key agility: Encrypted 1 blocks of 256 bytes (each time switching contexts) Total time: 55875 clock ticks (1677.30 usec) Encryption speed (cycles/byte): 3492.19 Encryption speed (Mbps): 1.22 Overhead: -0.0% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Tue Nov 8 02:34:40 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_G3_O3-ofp gcc-3.4 -Wall -pedantic -ansi -O3 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../submissions/grain/../../include -I../../../submissions/grain -mcpu=G3 -c -o grain_gcc_G3.o ../../../submissions/grain/grain.c gcc-3.4 -Wall -pedantic -ansi -O3 -fomit-frame-pointer -mcpu=G3 ecrypt-test_gcc_G3.o ecrypt-sync_gcc_G3.o grain_gcc_G3.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 4b795b92fc581bb31675b00c21634996 -