xref: /minix3/crypto/external/bsd/openssl/dist/demos/engines/rsaref/README (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuclibrsaref.so is a demonstration dynamic engine that does RSA
2*ebfedea0SLionel Sambucoperations using the old RSAref 2.0 implementation.
3*ebfedea0SLionel Sambuc
4*ebfedea0SLionel SambucTo make proper use of this engine, you must download RSAref 2.0
5*ebfedea0SLionel Sambuc(search the web for rsaref.tar.Z for example) and unpack it in this
6*ebfedea0SLionel Sambucdirectory, so you'll end up having the subdirectories "install" and
7*ebfedea0SLionel Sambuc"source" among others.
8*ebfedea0SLionel Sambuc
9*ebfedea0SLionel SambucTo build, do the following:
10*ebfedea0SLionel Sambuc
11*ebfedea0SLionel Sambuc	make
12*ebfedea0SLionel Sambuc
13*ebfedea0SLionel SambucThis will list a number of available targets to choose from.  Most of
14*ebfedea0SLionel Sambucthem are architecture-specific.  The exception is "gnu" which is to be
15*ebfedea0SLionel Sambucused on systems where GNU ld and gcc have been installed in such a way
16*ebfedea0SLionel Sambucthat gcc uses GNU ld to link together programs and shared libraries.
17*ebfedea0SLionel Sambuc
18*ebfedea0SLionel SambucThe make file assumes you use gcc.  To change that, just reassign CC:
19*ebfedea0SLionel Sambuc
20*ebfedea0SLionel Sambuc	make CC=cc
21*ebfedea0SLionel Sambuc
22*ebfedea0SLionel SambucThe result is librsaref.so, which you can copy to any place you wish.
23