[Bug 119294] Re: OpenSSL should support VIA PadLock
igorsh
ishipenkov at gmail.com
Wed Sep 16 04:14:25 BST 2009
I found that support of VIA padlock missed in amd64 version of openssl.
In i386 version of ubuntu it works perfect:
$ uname -a
Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
$ aptitude show openssl
Package: openssl
State: installed
Automatically installed: no
Version: 0.9.8g-15ubuntu3
$ openssl engine
(padlock) VIA PadLock (no-RNG, ACE)
(dynamic) Dynamic engine loading support
$ openssl speed -evp aes-128-cbc -engine padlock
(I skip these messages, because they say that everything is ok)
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128-cbc 91498.33k 292274.17k 599037.49k 818108.08k 916745.48k
but in amd64 version it seems broken:
$ uname -a
Linux lenovo 2.6.31-020631-generic #020631 SMP Thu Sep 10 21:43:40 UTC 2009 x86_64 GNU/Linux
(i install kernel 2.6.31 because in default 2.6.28 in amd64 version modules for padlock missed)
$ aptitude show openssl
Пакет: openssl
Состояние: установлен
Автоматически установлен: нет
Версия: 0.9.8g-15ubuntu3.3
$ openssl engine
(dynamic) Dynamic engine loading support
$ openssl speed -evp aes-128-cbc -engine padlock
invalid engine "padlock"
4896:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:162:filename(/usr/lib/ssl/engines/libpadlock.so): /usr/lib/ssl/engines/libpadlock.so: cannot open shared object file: No such file or directory
4896:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
4896:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
4896:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:415:id=padlock
4896:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:162:filename(libpadlock.so): libpadlock.so: cannot open shared object file: No such file or directory
4896:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
4896:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
Doing aes-128-cbc for 3s on 16 size blocks: 3502200 aes-128-cbc's in 2.60s
Doing aes-128-cbc for 3s on 64 size blocks: 815994 aes-128-cbc's in 2.22s
Doing aes-128-cbc for 3s on 256 size blocks: 201874 aes-128-cbc's in 2.10s
Doing aes-128-cbc for 3s on 1024 size blocks: 51384 aes-128-cbc's in 2.16s
Doing aes-128-cbc for 3s on 8192 size blocks: 5111 aes-128-cbc's in 1.75s
OpenSSL 0.9.8g 19 Oct 2007
built on: Wed Sep 9 14:22:25 UTC 2009
options:bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,16,int) aes(partial) blowfish(ptr2)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DMD32_REG_T=int -DMD5_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128-cbc 21552.00k 23524.15k 24609.40k 24359.82k 23925.32k
I checked source of package - nessessary patches already used.
--
OpenSSL should support VIA PadLock
https://bugs.launchpad.net/bugs/119294
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.
More information about the Ubuntu-server-bugs
mailing list