openssl/demos/engines/rsaref
Rich Salz 7aa0b02246 Dead code cleanup: crypto/*.c, x509v3, demos
Some of the #if 0 code in demo's was kept, but given helpful #ifdef
names, to show more sample code.

Reviewed-by: Andy Polyakov <appro@openssl.org>
2015-02-02 11:08:16 -05:00
..
build.com Functional VMS changes submitted by sms@antinode.info (Steven M. Schweda). 2009-05-15 16:36:56 +00:00
Makefile Name the flag files correctly. 2002-11-13 14:31:34 +00:00
README Add a demo that reimplements the RSAref glue in form of a dynamically 2001-11-14 22:42:35 +00:00
rsaref_err.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
rsaref_err.h Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
rsaref.c Dead code cleanup: crypto/*.c, x509v3, demos 2015-02-02 11:08:16 -05:00
rsaref.ec Add a local error code configuration file for the rsaref dynamic 2001-11-15 16:53:50 +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.