[Voyage-linux] voyage 0.7.5 and geode_aes
Karl Mueller
(spam-protected)
Tue Sep 6 23:37:58 HKT 2011
2011/9/5 Kim-man 'Punky' TSE <punkytse at punknix.com>
> You need to build openssl with cryptodev support.
I'm having a heck of a problem doing this, for some reason. I pulled-down
the openssl source (0.9.8n seems to be closest supported by ocf; 0.9.8o does
not have an ocf patch) and ocf patches, and I added cryptodev.h to
/usr/include/crypto. I manage to patch and build openssl but it never gives
me the option of the cryptodev engine in openssl.
I can see the modules (ocf, cryptosoft and cryptodev) loaded, and tried
rmmod and modprobe to try to re-initialize support for the cryptodev engine,
but no luck.
For openssl I use:
./config shared threads --with-cryptodev --openssldir=/etc/ssl --libdir=/lib
--prefix=/usr -g
make depend ; make ; make test ; make install
I link the /usr/lib/libssl and libcrypto to /usr/lib/i686/cmov/libssl and
libcrypto (which appear to be used as well)
ldd /usr/bin/openssl shows the correct libraries linked to the binary
But for some reason I cannot get openssl to recognize the cryptodev engine
openssl version -a
does show the -DHAVE_CRYPTODEV option enabled
but
openssl engine
only shows the padlock and dynamic engines available
What am I missing?
Thank you!
- Karl Mueller -
ewiley at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110906/8360e0ea/attachment.html>
More information about the Voyage-linux
mailing list