curve25519 speedreport version 20050915 % uname -a FreeBSD whisper 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed Aug 10 04:33:46 CDT 2005 djb@whisper:/usr/obj/usr/src/sys/whisper i386 % echo "$CC" gcc -O2 % gcc --version gcc (GCC) 3.4.2 [FreeBSD] 20040728 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % cat /proc/cpuinfo cat: /proc/cpuinfo: No such file or directory % sysctl -a hw.model hw.model: Intel(R) Pentium(R) M processor 1300MHz % /usr/sbin/psrinfo -v speedreport.do: /usr/sbin/psrinfo: not found % cat x86cpuid.out GenuineIntel-00000695-a7e9f9bf % cat curve25519.h cpucycles.h #include "curve25519_athlon.h" % echo _____; ./curve25519-speed; echo _____ _____ curve25519_athlon cpucycles_athlon 666193 641085 640832 640844 640838 640838 640838 640838 640838 703530 640985 652983 640837 640838 640833 640838 640833 640838 640833 640838 641674 640879 640832 676018 640854 652938 640838 766770 640979 641001 640833 640838 640833 640838 640880 640833 640833 640838 640838 640833 641489 640879 640832 640838 640908 640832 653492 640832 640838 640838 640838 640833 640838 640838 666280 652881 640843 640838 640838 640838 641417 640885 640832 640838 661146 640866 640838 640838 640838 653629 640838 640838 640838 640838 640838 640838 640838 640838 640838 640838 641424 640885 640832 691776 641106 666142 640839 640838 640838 640833 640838 640838 640838 640833 640838 640838 640833 640838 640920 652763 641562 652921 640905 640838 640838 640838 640838 640838 640838 640838 640838 640838 640838 652779 640838 640838 665634 640978 640838 640852 663020 640946 640840 640838 640838 640838 640838 652850 640838 640832 640838 640838 640838 640838 640838 640885 640838 640838 640838 640827 641358 653260 640832 640838 640838 640838 640838 728442 641033 640867 640833 640838 640838 640833 640838 640838 640833 653105 640838 652989 641439 640885 640832 640838 640838 640838 640838 640838 640838 640838 640838 653167 640838 640838 640838 640838 640838 653030 665713 640960 641607 640907 640832 640838 640838 653112 640838 640838 640838 640838 640838 640838 640838 640838 640838 640838 653501 640899 640838 640838 143929357 cycles 110806 usecs 1298.931078 MHz _____ % ./test-curve25519 | head -123456 | tail -1 9d3dfa85e527852eff57fb0fc6b91630bc9d6df8813ddb3533202603cfad014f 3bac95275dd1778b5a281b732b0b97f272342f0935723117c82b158cf0bcb80c 8bf654e08b11bc1e52f3ff32a894f520aad71b7b710986a8bb8970389add5b5b