freebsd-dev/crypto/openssl/demos/engines/rsaref
Mark Murray 5c87c606cd Vendor import of OpenSSL release 0.9.7. This release includes
support for AES and OpenBSD's hardware crypto.
2003-01-28 21:43:22 +00:00
..
build.com Vendor import of OpenSSL release 0.9.7. This release includes 2003-01-28 21:43:22 +00:00
Makefile Vendor import of OpenSSL release 0.9.7. This release includes 2003-01-28 21:43:22 +00:00
README Vendor import of OpenSSL release 0.9.7. This release includes 2003-01-28 21:43:22 +00:00
rsaref_err.c Vendor import of OpenSSL release 0.9.7. This release includes 2003-01-28 21:43:22 +00:00
rsaref_err.h Vendor import of OpenSSL release 0.9.7. This release includes 2003-01-28 21:43:22 +00:00
rsaref.c Vendor import of OpenSSL release 0.9.7. This release includes 2003-01-28 21:43:22 +00:00
rsaref.ec Vendor import of OpenSSL release 0.9.7. This release includes 2003-01-28 21:43:22 +00:00

librsaref.so is a demonstration dynamic engine that does RSA
operations using the old RSAref 2.0 implementation.

To make proper use of this engine, you must download RSAref 2.0
(search the web for rsaref.tar.Z for example) and unpack it in this
directory, so you'll end up having the subdirectories "install" and
"source" among others.

To build, do the following:

	make

This will list a number of available targets to choose from.  Most of
them are architecture-specific.  The exception is "gnu" which is to be
used on systems where GNU ld and gcc have been installed in such a way
that gcc uses GNU ld to link together programs and shared libraries.

The make file assumes you use gcc.  To change that, just reassign CC:

	make CC=cc

The result is librsaref.so, which you can copy to any place you wish.