curve25519 speedreport version 20050915 % uname -a Linux frobenius 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001 i686 unknown % echo "$CC" gcc -O2 % gcc --version 2.95.3 % cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 1 model name : Intel(R) Pentium(R) 4 CPU 1.50GHz stepping : 2 cpu MHz : 1513.516 cache size : 256 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 pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss tm bogomips : 3021.20 % sysctl -a hw.model speedreport.do: sysctl: command not found % /usr/sbin/psrinfo -v speedreport.do: /usr/sbin/psrinfo: Datei oder Verzeichnis nicht gefunden % cat x86cpuid.out GenuineIntel-00000f12-3febfbff % cat curve25519.h cpucycles.h #include "curve25519_athlon.h" % echo _____; ./curve25519-speed; echo _____ _____ curve25519_athlon cpucycles_athlon 995764 963160 958920 969588 965984 958564 962944 1039024 969656 969088 968768 969324 969108 968960 968792 968960 969112 968916 968744 968968 1177952 962632 958984 969324 966104 958728 1111284 954644 954740 954628 954372 954040 954052 954040 954040 954032 989832 954420 954040 954612 956688 954236 956592 962960 954004 954040 956192 962628 954004 954040 990176 969268 1544580 954580 954652 954608 954040 954340 954132 954480 957904 954332 954368 1478112 954484 954736 954040 954040 954740 954680 959324 954652 954040 954040 954040 954040 954416 954472 954472 984988 965940 968720 968924 968748 1543156 963124 965160 969556 969548 969932 968952 969232 1455804 954916 954660 954720 954132 954340 954372 954044 957548 954268 955068 954372 954040 954040 1007300 962276 959060 969644 969008 968740 969008 968936 969008 968788 969312 969320 1516600 954808 956808 954672 954096 954040 954372 954040 954040 954040 954360 954372 959340 954356 954040 954040 954040 1446328 954256 954664 954460 954044 958196 954332 954368 954372 954092 954040 954040 954040 990200 960596 1527864 954996 962104 962600 958976 969348 969296 969584 968952 968936 957364 954332 1153996 954568 954740 954472 954536 954472 954664 954724 954040 954360 954300 954040 954040 954040 954040 4515588 965284 954724 973172 962416 958796 969324 969284 969268 968952 1020224 961268 965956 966488 964680 965916 964248 965840 964504 964248 964524 964248 964252 226475752 cycles 149633 usecs 1513.541478 MHz _____ % ./test-curve25519 | head -123456 | tail -1 9d3dfa85e527852eff57fb0fc6b91630bc9d6df8813ddb3533202603cfad014f 3bac95275dd1778b5a281b732b0b97f272342f0935723117c82b158cf0bcb80c 8bf654e08b11bc1e52f3ff32a894f520aad71b7b710986a8bb8970389add5b5b