2011/9/5 Kim-man 'Punky' TSE <span dir="ltr"><<a href="mailto:punkytse@punknix.com">punkytse@punknix.com</a>></span><br>> You need to build openssl with cryptodev support.<br><br>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.<br>
<br>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.<br><br>For openssl I use:<br>./config shared threads --with-cryptodev --openssldir=/etc/ssl --libdir=/lib --prefix=/usr -g<br>
make depend ; make ; make test ; make install<br><br>I link the /usr/lib/libssl and libcrypto to /usr/lib/i686/cmov/libssl and libcrypto (which appear to be used as well)<br>ldd /usr/bin/openssl shows the correct libraries linked to the binary<br>
<br>But for some reason I cannot get openssl to recognize the cryptodev engine<br><br>openssl version -a <br>does show the -DHAVE_CRYPTODEV option enabled<br>but <br>openssl engine<br>only shows the padlock and dynamic engines available<br clear="all">
<div><br>What am I missing?<br><br>Thank you!<br><br>- Karl Mueller -</div><div><a href="mailto:ewiley@gmail.com" target="_blank">ewiley@gmail.com</a></div><br>