******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: RC4 =================== Profile: SW Key size: 128 bits IV size: 0 bits CPU speed: 533.0 MHz Cycles are measured using MFTB instruction (assuming 16 clocks per tick) Testing memory requirements: Size of ECRYPT_ctx: 1068 bytes Testing stream encryption speed: Encrypted 2 blocks of 4096 bytes (under 1 keys, 2 blocks/key) Total time: 5715 clock ticks (171.56 usec) Encryption speed (cycles/byte): 11.16 Encryption speed (Mbps): 382.01 Testing packet encryption speed: Encrypted 13 packets of 40 bytes (under 1 keys, 13 packets/key) Total time: 7971 clock ticks (239.28 usec) Encryption speed (cycles/packet): 9810.46 Encryption speed (cycles/byte): 245.26 Encryption speed (Mbps): 17.39 Overhead: 2097.3% Encrypted 8 packets of 576 bytes (under 1 keys, 8 packets/key) Total time: 7860 clock ticks (235.95 usec) Encryption speed (cycles/packet): 15720.00 Encryption speed (cycles/byte): 27.29 Encryption speed (Mbps): 156.24 Overhead: 144.5% Encrypted 5 packets of 1500 bytes (under 1 keys, 5 packets/key) Total time: 8161 clock ticks (244.98 usec) Encryption speed (cycles/packet): 26115.20 Encryption speed (cycles/byte): 17.41 Encryption speed (Mbps): 244.91 Overhead: 56.0% Weighted average (Simple Imix): Encryption speed (cycles/byte): 38.61 Encryption speed (Mbps): 110.45 Overhead: 245.9% Testing key setup speed: Did 1900 key setups (under 10 keys, 190 setups/key) Total time: 10059 clock ticks (301.96 usec) Key setup speed (cycles/setup): 84.71 Key setup speed (setups/second): 6292250.72 Testing IV setup speed: Did 14 IV setups (under 1 keys, 14 setups/key) Total time: 8103 clock ticks (243.24 usec) IV setup speed (cycles/setup): 9260.57 IV setup speed (setups/second): 57555.84 Testing key agility: Encrypted 37 blocks of 256 bytes (each time switching contexts) Total time: 8292 clock ticks (248.92 usec) Encryption speed (cycles/byte): 14.01 Encryption speed (Mbps): 304.42 Overhead: 25.5% End of performance measurements Primitive Name: RC4 =================== Profile: SW Key size: 256 bits IV size: 0 bits CPU speed: 533.0 MHz Cycles are measured using MFTB instruction (assuming 16 clocks per tick) Testing memory requirements: Size of ECRYPT_ctx: 1068 bytes Testing stream encryption speed: Encrypted 2 blocks of 4096 bytes (under 1 keys, 2 blocks/key) Total time: 5715 clock ticks (171.56 usec) Encryption speed (cycles/byte): 11.16 Encryption speed (Mbps): 382.01 Testing packet encryption speed: Encrypted 13 packets of 40 bytes (under 1 keys, 13 packets/key) Total time: 7975 clock ticks (239.40 usec) Encryption speed (cycles/packet): 9815.38 Encryption speed (cycles/byte): 245.38 Encryption speed (Mbps): 17.38 Overhead: 2098.4% Encrypted 8 packets of 576 bytes (under 1 keys, 8 packets/key) Total time: 7873 clock ticks (236.34 usec) Encryption speed (cycles/packet): 15746.00 Encryption speed (cycles/byte): 27.34 Encryption speed (Mbps): 155.98 Overhead: 144.9% Encrypted 5 packets of 1500 bytes (under 1 keys, 5 packets/key) Total time: 8166 clock ticks (245.13 usec) Encryption speed (cycles/packet): 26131.20 Encryption speed (cycles/byte): 17.42 Encryption speed (Mbps): 244.76 Overhead: 56.1% Weighted average (Simple Imix): Encryption speed (cycles/byte): 38.64 Encryption speed (Mbps): 110.34 Overhead: 246.2% Testing key setup speed: Did 1100 key setups (under 10 keys, 110 setups/key) Total time: 9124 clock ticks (273.89 usec) Key setup speed (cycles/setup): 132.71 Key setup speed (setups/second): 4016193.56 Testing IV setup speed: Did 14 IV setups (under 1 keys, 14 setups/key) Total time: 8103 clock ticks (243.24 usec) IV setup speed (cycles/setup): 9260.57 IV setup speed (setups/second): 57555.84 Testing key agility: Encrypted 37 blocks of 256 bytes (each time switching contexts) Total time: 8293 clock ticks (248.95 usec) Encryption speed (cycles/byte): 14.01 Encryption speed (Mbps): 304.39 Overhead: 25.5% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Tue Nov 8 02:49:16 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_O1-ofp gcc-3.4 -Wall -pedantic -ansi -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../benchmarks/rc4/../../include -I../../../benchmarks/rc4 -mcpu=G3 -c -o rc4_gcc_G3.o ../../../benchmarks/rc4/rc4.c gcc-3.4 -Wall -pedantic -ansi -O1 -fomit-frame-pointer -mcpu=G3 ecrypt-test_gcc_G3.o ecrypt-sync_gcc_G3.o rc4_gcc_G3.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- 68c0553af43a02172ad3d406b680994e -