Should I send this request to the developers list rather than here?

If so, I'll be happy to do so...

In any case, the short version is:  I cross-compiled openssl for target
xscale, and could not load the kernel module because some of the symbols
(e.g. crypto_register_alg) apparently because they were exported using
EXPORT_SYMBOL_GPL, and openssl did not convince the kernel that it could
use the _GPL symbols. Or at least that's what it appeared to be.

I would have thought that OPENssl, for which I have the source, would
have met the requirements to use the _GPL symbols in the kernel.  

So - the question:  Is there some trick I need to do to convince the
kernel (2.6.18.8) to allow openssl (0.9.81) kernel module to load?
(Without breaking the _GPL symbols)

Thanks!

Rusty

-----Original Message-----
From: Carruth, Rusty 
Sent: Friday, May 21, 2010 10:43 AM
To: openssl-users@openssl.org
Subject: compilation problem for xscale.

I've compiled openssl to run on an xscale, and it worked fine except for
one major issue - I could not load the resulting module until I changed
this in crypto/api:

EXPORT_SYMBOL_GPL(crypto_register_alg);
EXPORT_SYMBOL_GPL(crypto_unregister_alg);
EXPORT_SYMBOL_GPL(crypto_alloc_tfm);
EXPORT_SYMBOL_GPL(crypto_free_tfm);
EXPORT_SYMBOL_GPL(crypto_alg_available);


To this:

EXPORT_SYMBOL(crypto_register_alg);
EXPORT_SYMBOL(crypto_unregister_alg);
EXPORT_SYMBOL(crypto_alloc_tfm);
EXPORT_SYMBOL(crypto_free_tfm);
EXPORT_SYMBOL(crypto_alg_available);

The strange thing is that those symbols didn't even show up in the
kernel symbol table until I did that - which seems really wrong.

I don't want to hack the kernel crypto/api.c file to remove the _GPL
stuff, obviously, but why in the world does openssl fail to work - since
I have the source to it, I'd think that meets the requirements to be
able to use the kernel crypto api - or maybe I missed something?

Thanks for any pointers people can give me for how to get openssl to
work without changing those lines above.

I am using openssl-0.9.8l and kernel 2.6.18.8, targeted to xscale (from
x86, using a crosstool - I can get the exact 'model and make' if it
matters).

Thanks again!

Rusty
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to