On x86 processors (386, 486, Pentium, Athlon, etc.), nistp224 works only under gcc. However, the asm output could easily be used with other compilers.
The x86 development tools in OpenBSD have inadequate support for -malign-double. nistp224 will work under OpenBSD, but it will be unnecessarily slow. You can fix this problem by installing GNU as and GNU ld.
mkdir -p /package chmod 1755 /package cd /packageDownload nistp224-0.75.tar.gz into /package. Unpack the nistp224 package:
gunzip nistp224-0.75.tar tar -xpf nistp224-0.75.tar rm nistp224-0.75.tar cd math/nistp224-0.75Compile and set up the nistp224 library and the nistp224 program:
package/installThe compilation process includes some regression tests; it will stop if the tests fail.
Report success:
mail djb-sysdeps@cr.yp.to < /package/math/nistp224/compile/sysdeps