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