On 2012-05-31 12:01, Salatiel Filho wrote:
> On Thu, May 31, 2012 at 12:37 PM, Michael S. Zick <open...@morethan.org> wrote: > >> On Thu May 31 2012, Salatiel Filho wrote: >> >>> Any other ideas ? >> Yes, wrong or incomplete Debian package installed. > > I dont think thats the problem. I tried build the package from source > using dpkg-buildpackage and i noticed that though libssl packace shows > 1.0.0 in its name , the libraries inside are the ones built from 1.0.1 > source. > >> Your strace shows 1.0.0 in the pathname of the libpadlock.so it is trying to open. Did your apt-get include a new libpadlock.so or perhaps that is now packaged separately by Debian. > > Yes. It is inside of the libssl package. > I.E: Perhaps you need to install an additional package for Via. > > I also don't th> Well, there's your problem. As far as I can tell, OpenSSL does not (officially) support padlock on the AMD64 architecture. There is a patch that I have been using (on gentoo) that enables 64-bit architecture support for padlock. Look on bugzilla.redhat.com for bug # 617539, apply the patch, and try again. I note that there are some comments claiming that upstream fixed the bug in 1.0.1 and 1.1.0, but I'm still running 1.0.0j with the mentioned patch. > Mike > >> []'s Salatiel On Wed, May 30, 2012 at 8:40 PM, Salatiel Filho <salatiel.fi...@gmail.com [10]> wrote: >> >>> No. Just installed from debian unstable repository. apt-get -t unstable install openssl []'s Salatiel On Wed, May 30, 2012 at 8:33 PM, Peter Kurrasch <gtin...@hotmail.com [9]> wrote: >>> >>>> Are you combining version 1.0.1 and 1.0.0 ? ---------------------------------------- >>>> >>>>> From: salatiel.fi...@gmail.com [1] Subject: Can not enable via padlock Date: Wed, 30 May 2012 20:26:45 -0300 To: openssl-users@openssl.org [2] I am trying to test via padlock using 'openssl speed -engine padlock', but it fails. # openssl version OpenSSL 1.0.1c 10 May 2012 # openssl engine padlock 140291115067048:error:260B606D:engine routines:DYNAMIC_LOAD:init failed:eng_dyn.c:521: 140291115067048:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:417:id=padlock # strace openssl engine padlock 2>&1 | grep -i padlock.so open("/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libpadlock.so", O_RDONLY) = 3 # ls -la /usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libpadlock.so -rw-r--r-- 1 root root 6096 May 11 12:51 /usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libpadlock.so # dmesg | grep -i aes [ 284.335338] padlock: Using VIA PadLock ACE for AES algorithm. # lsmod | grep -i aes padlock_aes 5633 0 aes_generic 25714 1 padlock_aes What am i doing wrong ? ______________________________________________________________________ OpenSSL Project http://www.openssl.org [3] User Support Mailing List openssl-users@openssl.org [4] Automated List Manager majord...@openssl.org [5] >>>> ______________________________________________________________________ OpenSSL Project http://www.openssl.org [6] User Support Mailing List openssl-users@openssl.org [7] Automated List Manager majord...@openssl.org [8] >> ______________________________________________________________________ OpenSSL Project http://www.openssl.org [11] User Support Mailing List openssl-users@openssl.org [12] Automated List Manager majord...@openssl.org [13] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org [14] User Support Mailing List openssl-users@openssl.org [15] Automated List Manager majord...@openssl.org [16] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org Links: ------ [1] mailto:salatiel.fi...@gmail.com [2] mailto:openssl-users@openssl.org [3] http://www.openssl.org [4] mailto:openssl-users@openssl.org [5] mailto:majord...@openssl.org [6] http://www.openssl.org [7] mailto:openssl-users@openssl.org [8] mailto:majord...@openssl.org [9] mailto:gtin...@hotmail.com [10] mailto:salatiel.fi...@gmail.com [11] http://www.openssl.org [12] mailto:openssl-users@openssl.org [13] mailto:majord...@openssl.org [14] http://www.openssl.org [15] mailto:openssl-users@openssl.org [16] mailto:majord...@openssl.org