******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: AES-CTR ======================= Profile: bench Key size: 128 bits IV size: 128 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 72 bytes Testing stream encryption speed: Encrypted 6 blocks of 4096 bytes (under 1 keys, 6 blocks/key) Total time: 392577 clock ticks (230.93 usec) Encryption speed (cycles/byte): 15.97 Encryption speed (Mbps): 851.38 Testing packet encryption speed: Encrypted 460 packets of 40 bytes (under 10 keys, 46 packets/key) Total time: 418240 clock ticks (246.02 usec) Encryption speed (cycles/packet): 909.22 Encryption speed (cycles/byte): 22.73 Encryption speed (Mbps): 598.32 Overhead: 42.3% Encrypted 44 packets of 576 bytes (under 1 keys, 44 packets/key) Total time: 409567 clock ticks (240.92 usec) Encryption speed (cycles/packet): 9308.34 Encryption speed (cycles/byte): 16.16 Encryption speed (Mbps): 841.57 Overhead: 1.2% Encrypted 17 packets of 1500 bytes (under 1 keys, 17 packets/key) Total time: 410806 clock ticks (241.65 usec) Encryption speed (cycles/packet): 24165.06 Encryption speed (cycles/byte): 16.11 Encryption speed (Mbps): 844.19 Overhead: 0.9% Weighted average (Simple Imix): Encryption speed (cycles/byte): 16.59 Encryption speed (Mbps): 819.66 Overhead: 3.9% Testing key setup speed: Did 2400 key setups (under 10 keys, 240 setups/key) Total time: 403757 clock ticks (237.50 usec) Key setup speed (cycles/setup): 168.23 Key setup speed (setups/second): 10105087.96 Testing IV setup speed: Did 9000 IV setups (under 10 keys, 900 setups/key) Total time: 304859 clock ticks (179.33 usec) IV setup speed (cycles/setup): 33.87 IV setup speed (setups/second): 50187135.69 Testing key agility: Encrypted 90 blocks of 256 bytes (each time switching contexts) Total time: 411781 clock ticks (242.22 usec) Encryption speed (cycles/byte): 17.87 Encryption speed (Mbps): 760.95 Overhead: 11.9% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 07:37:18 CET 2008 CPU: ------------------------------------------------------------------------------- processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1700MHz stepping : 5 cpu MHz : 1700.000 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up est tm2 bogomips : 3391.40 clflush size : 64 COMPILER: ------------------------------------------------------------------------------- Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) COMPILATION: ------------------------------------------------------------------------------- make var=1 conf=gcc_pentium3_O3-ual-ofp gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../benchmarks/aes-ctr/aes-128/bernstein/x86-mmx-1/../../../../../include -I../../../../../../benchmarks/aes-ctr/aes-128/bernstein/x86-mmx-1 -march=pentium3 -c -o ecrypt-test_gcc_pentium3.o ../../../../../../benchmarks/aes-ctr/aes-128/bernstein/x86-mmx-1/../../../../../test/ecrypt-test.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../benchmarks/aes-ctr/aes-128/bernstein/x86-mmx-1/../../../../../include -I../../../../../../benchmarks/aes-ctr/aes-128/bernstein/x86-mmx-1 -march=pentium3 -c -o ecrypt-sync_gcc_pentium3.o ../../../../../../benchmarks/aes-ctr/aes-128/bernstein/x86-mmx-1/../../../../../api/ecrypt-sync.c gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../benchmarks/aes-ctr/aes-128/bernstein/x86-mmx-1/../../../../../include -I../../../../../../benchmarks/aes-ctr/aes-128/bernstein/x86-mmx-1 -march=pentium3 -c -o aes-ctr_gcc_pentium3.o ../../../../../../benchmarks/aes-ctr/aes-128/bernstein/x86-mmx-1/aes-ctr.s gcc -Wall -pedantic -ansi -O3 -funroll-all-loops -fomit-frame-pointer -march=pentium3 ecrypt-test_gcc_pentium3.o ecrypt-sync_gcc_pentium3.o aes-ctr_gcc_pentium3.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- e4a4ea184e3b6a48250fa7c26a479554 -