<div dir="ltr">Hi Cata,<div><br></div><div>We solved this problem in our project: <a href="https://github.com/AtmelCSO/cryptoauth-openssl-engine">https://github.com/AtmelCSO/cryptoauth-openssl-engine</a></div><div>I may be wrong but I think it was done using "export LD_LIBRARY_PATH=<your lib path>". Try it. If it will not work then you dig into our engine.</div><div><br></div><div>Regards,</div><div>Alex Gostrer</div>







</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 9:00 AM, Catalin Vasile <span dir="ltr"><<a href="mailto:cata.vasile@nxp.com" target="_blank">cata.vasile@nxp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
I'm trying to make a new crypto engine.<br>
<br>
Any application that tries to use my custom OpenSSL library that includes my engine gives me an error trying to find an external library for my new engine (it tries to locate /usr/lib/libhwrng.so,  where hwrng is my engine), although if I run a "grep -R 'hwrng' . " in the install folder it finds references in the libcrypto.so .<br>
<br>
I have done a "grep -R 'cryptodev' ." and it is referenced the same amount of times and in the same files.<br>
What could I be missing that cryptodev is loaded "naturally" (it knows it's inside libcrypto.so), but engine hwrng is seen as being something totally external?<br>
<br>
<br>
Cata<br>
<br>
<br>
<br>
_______________________________________________<br>
openssl-dev mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-dev" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-dev</a><br>
</blockquote></div><br></div>