******************************************************************************** * ECRYPT Stream Cipher Project * ******************************************************************************** Primitive Name: AES-CTR ======================= Profile: bench Key size: 256 bits IV size: 128 bits CPU speed: 1700.0 MHz Cycles are measured using RDTSC instruction Testing memory requirements: Size of ECRYPT_ctx: 312 bytes Testing stream encryption speed: Encrypted 4 blocks of 4096 bytes (under 1 keys, 4 blocks/key) Total time: 410179 clock ticks (241.28 usec) Encryption speed (cycles/byte): 25.04 Encryption speed (Mbps): 543.23 Testing packet encryption speed: Encrypted 300 packets of 40 bytes (under 10 keys, 30 packets/key) Total time: 413886 clock ticks (243.46 usec) Encryption speed (cycles/packet): 1379.62 Encryption speed (cycles/byte): 34.49 Encryption speed (Mbps): 394.31 Overhead: 37.8% Encrypted 28 packets of 576 bytes (under 1 keys, 28 packets/key) Total time: 408154 clock ticks (240.09 usec) Encryption speed (cycles/packet): 14576.93 Encryption speed (cycles/byte): 25.31 Encryption speed (Mbps): 537.40 Overhead: 1.1% Encrypted 11 packets of 1500 bytes (under 1 keys, 11 packets/key) Total time: 416017 clock ticks (244.72 usec) Encryption speed (cycles/packet): 37819.73 Encryption speed (cycles/byte): 25.21 Encryption speed (Mbps): 539.40 Overhead: 0.7% Weighted average (Simple Imix): Encryption speed (cycles/byte): 25.90 Encryption speed (Mbps): 525.05 Overhead: 3.5% Testing key setup speed: Did 700 key setups (under 10 keys, 70 setups/key) Total time: 407895 clock ticks (239.94 usec) Key setup speed (cycles/setup): 582.71 Key setup speed (setups/second): 2917417.47 Testing IV setup speed: Did 17000 IV setups (under 100 keys, 170 setups/key) Total time: 401248 clock ticks (236.03 usec) IV setup speed (cycles/setup): 23.60 IV setup speed (setups/second): 72025281.12 Testing key agility: Encrypted 50 blocks of 256 bytes (each time switching contexts) Total time: 369339 clock ticks (217.26 usec) Encryption speed (cycles/byte): 28.85 Encryption speed (Mbps): 471.33 Overhead: 15.3% End of performance measurements ******************************************************************************* DATE: ------------------------------------------------------------------------------- Thu Feb 14 07:57:38 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_pentium2_O1-ofp gcc -Wall -pedantic -ansi -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../benchmarks/aes-ctr/aes-256/hongjun/v0/../../../../../include -I../../../../../../benchmarks/aes-ctr/aes-256/hongjun/v0 -march=pentium2 -c -o ecrypt-test_gcc_pentium2.o ../../../../../../benchmarks/aes-ctr/aes-256/hongjun/v0/../../../../../test/ecrypt-test.c gcc -Wall -pedantic -ansi -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../benchmarks/aes-ctr/aes-256/hongjun/v0/../../../../../include -I../../../../../../benchmarks/aes-ctr/aes-256/hongjun/v0 -march=pentium2 -c -o ecrypt-sync_gcc_pentium2.o ../../../../../../benchmarks/aes-ctr/aes-256/hongjun/v0/../../../../../api/ecrypt-sync.c gcc -Wall -pedantic -ansi -O1 -fomit-frame-pointer -DECRYPT_API=ecrypt-sync.h -DECRYPT_VARIANT=1 -I../../../../../../benchmarks/aes-ctr/aes-256/hongjun/v0/../../../../../include -I../../../../../../benchmarks/aes-ctr/aes-256/hongjun/v0 -march=pentium2 -c -o aes-ctr_gcc_pentium2.o ../../../../../../benchmarks/aes-ctr/aes-256/hongjun/v0/aes-ctr.c gcc -Wall -pedantic -ansi -O1 -fomit-frame-pointer -march=pentium2 ecrypt-test_gcc_pentium2.o ecrypt-sync_gcc_pentium2.o aes-ctr_gcc_pentium2.o -o ecrypt-test EXECUTABLE: ------------------------------------------------------------------------------- a410c2058f4bd06b591bc7d0f1d050f7 -