RSA & IDEA Howto (Was Re: Signing (with) old pgp 2 keys)

Dave Harvill dlh@zns.acu.cs.umb.edu
Wed Jul 21 19:57:14 CEST 1999


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 20 Jul 1999, Dave Dykstra wrote:

> Thanks for making this HOWTO.  I have a few suggestions for it:
> 
> On Jul 20, 12:57pm, Michael Roth wrote:
> ...
> > * If you're inside the US or Canada you should use the RSAREF glue code
> >   for GnuPG. Get it from ftp://ftp.guug.de/pub/gcrypt/contrib/rsaref.c
> >   Of course you need the RSAREF library compiled and installed already.
> >   Take a look in the documentation of the RSAREF library for the way to
> >   do this.
> 
> I suggest including a URL for RSAREF 2.0:
>     ftp://ftp.funet.fi/pub/crypt/cryptography/asymmetric/rsa/rsaref2.tar.gz
> RSAREF 1 can be found at 
>     ftp://non-us.debian.org/debian-non-US/dists/stable/non-US/source/rsaref_19930105.orig.tar.gz
> 
> 

I compiled the RSAREF 2.0 just fine, copied to /usr/lib.  In trying to
compile the RSAREF 'glue code' afterwards, I run into the following 
error:

# gcc -Wall -O2 -shared -fPIC -o rsa rsaref.c /usr/lib/rsaref.a
/usr/lib/rsaref.a(nn.o): In function `NN_ModExp':
nn.c(.text+0xa88): multiple definition of `NN_ModExp'
/tmp/cca020641.o(.text+0x5d8):rsaref.c: first defined here
/usr/bin/ld: Warning: size of symbol `NN_ModExp' changed from 716 to 568
in nn.o
collect2: ld returned 1 exit status

can anyone help?

- -dave


~~~~~~~~~~~~~~~~~~~~~~
dlh@acu.cs.umb.edu
http://www.cs.umb.edu
~~~~~~~~~~~~~~~~~~~~~~


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.8 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE3lhgSkk29ehvsO3kRArQfAJ4+Xg1M6nWHoctbdnqTUSsNr/vxMACgkJFS
9v8wsyw0txn07sExjfo7xIs=
=Bo8Z
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list