Hi Paul, On Thu, Nov 13, 2014 at 3:26 AM, paul zimmermann <[email protected]> wrote:
> Hi, > > [please answer also to me, since I'm not subscribed to the list] > > with openssl-1.0.1c, I could use the gmp engine as follows (as indicated in > engines/e_gmp.c): > In what I'll say below, I'm referring to a checkout of the OpenSSL_1_0_1-stable branch, which should match what you have, as I don't believe there should be any unreleased changes in that branch that affect any of this. But mentioning it just in case. :-) > > $ ./config "enable-gmp -I<includepath> -L<libpath> -lgmp" > Not with the quotes, right? It works for me without them, I didn't try with them. > $ make depend > $ apps/openssl speed rsa1024 -engine gmp > This works fine for me. > > This does not work any more with openssl-1.0.1j, where I get for the last > command: > > zimmerma@coing:~/Adm/Caramel/14/GTopenssl/openssl-1.0.1j$ apps/openssl > speed rsa1024 -engine gmp > WARNING: can't open config file: /usr/local/ssl/openssl.cnf > invalid engine "gmp" > 140483149977248:error:25066067:DSO support routines:DLFCN_LOAD:could not > load the shared > library:dso_dlfcn.c:187:filename(/usr/local/ssl/lib/engines/libgmp.so): > /usr/local/ssl/lib/engines/libgmp.so: cannot open shared object file: No > such file or directory > Can you please tell me whether there's a compiled ./engines/e_gmp.o file in your source tree (ie. that it's compiled like the other engines in that source directory)? And what does "apps/openssl engine -v -t" give as output? Also, did you build your own GMP libs or are they installed system-wide (or both)? (The "-L<libpath>" you mentioned earlier, it isn't /usr/local/ssl/lib/engines, right?) > > Is the gmp engine no longer supported? I see nothing about this in > README.ENGINE. > I don't believe there is any such discontinuation. Please check the above and let me know. Thanks, Geoff
