Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-06-02 Thread valent.turko...@gmail.com
Hi Jiri, is there any progress? Please let me know when I can test new version of openssl package and I'll report back... Cheers, Valent. On Thu, May 2, 2013 at 11:10 AM, Jiri Slachta wrote: > Hello Valent, > > strace shows system calls used by program. I think there is nothing wrong > with ope

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-05-02 Thread Jiri Slachta
Hello Valent, strace shows system calls used by program. I think there is nothing wrong with openssl package, package Makefile is just not yet fully adapted to work with openssl engines (imho it is compile time issue). It needs to be rewritten a little. Jiri Dne 2.5.2013 8:10, valent.turko...@

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-05-01 Thread valent.turko...@gmail.com
On Wed, May 1, 2013 at 12:52 AM, valent.turko...@gmail.com wrote: > On Tue, Apr 30, 2013 at 10:46 PM, Jiri Slachta wrote: >> Dne 30.4.2013 22:08, valent.turko...@gmail.com napsal(a): >>> On Tue, Apr 30, 2013 at 9:36 PM, valent.turko...@gmail.com >>> wrote: I had missed package with engines

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-30 Thread valent.turko...@gmail.com
On Tue, Apr 30, 2013 at 10:46 PM, Jiri Slachta wrote: > Dne 30.4.2013 22:08, valent.turko...@gmail.com napsal(a): >> On Tue, Apr 30, 2013 at 9:36 PM, valent.turko...@gmail.com >> wrote: >>> I had missed package with engines ;) >>> Now I got images built correctly and installed on CF card. >>> >>>

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-30 Thread Jiri Slachta
Dne 30.4.2013 22:08, valent.turko...@gmail.com napsal(a): > On Tue, Apr 30, 2013 at 9:36 PM, valent.turko...@gmail.com > wrote: >> I had missed package with engines ;) >> Now I got images built correctly and installed on CF card. >> >> Can you or somebody else check out what is the issue? >> >> Pl

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-30 Thread valent.turko...@gmail.com
On Tue, Apr 30, 2013 at 9:36 PM, valent.turko...@gmail.com wrote: > I had missed package with engines ;) > Now I got images built correctly and installed on CF card. > > Can you or somebody else check out what is the issue? > > Please connect to: > ssh r...@valentt.no-ip.org -p 22001 password is "

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-30 Thread valent.turko...@gmail.com
I had missed package with engines ;) Now I got images built correctly and installed on CF card. Can you or somebody else check out what is the issue? Please connect to: ssh r...@valentt.no-ip.org -p 22001 password is "openwrt" ___ openwrt-devel mailing

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-23 Thread valent.turko...@gmail.com
I had some issues with .config file and latest trunk images so I started fresh. Here are the steps I did: svn checkout svn://svn.openwrt.org/openwrt/trunk/ cd trunk cp ../openssl.diff . patch -p0 < openssl.diff ./scripts/feeds update -a ./scripts/feeds install -a make defconfig make prereq make m

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-06 Thread Jiri Slachta
I meant lack of hardware support for engine padlock. I should read my mail first before I send it. Dne 6.4.2013 17:32, Jiri Slachta napsal(a): > Hello Valent, > > I am sorry for late response. I am unable to locate the problem between > engine and openssl engine due to lack of hardware I use. I

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-06 Thread Jiri Slachta
Hello Valent, I am sorry for late response. I am unable to locate the problem between engine and openssl engine due to lack of hardware I use. I'd suggest at first try stracing & to use gdb to debug and locate, what openssl needs to run with engine libraries. I am not that experienced in debugg

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-04-06 Thread valent.turko...@gmail.com
Is there anything else that should be done to get padlock working? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-03-31 Thread valent.turko...@gmail.com
Thanks for sticking with me, I appreciate it a lot. I figured out that I was missing kernel module for sha1 and now with that module compiled I get this error: invalid engine "padlock" 3078260360:error:2506406A:lib(37):func(100):reason(106):NA:0:symname(bind_engine): Unable to resolve symbol 307

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-03-31 Thread Jiri Slachta
Hello Valent, I think is not the openssl lib fault. If you take a look at: > [ 423.683985] padlock_sha: Fallback driver 'sha1' could not be loaded! > [ 423.703224] BUG: unable to handle kernel NULL pointer dereference at > 0052 > [ 423.713155] IP: [] init_module+0x9b3/0xb20 [cryptosoft]

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-03-30 Thread valent.turko...@gmail.com
I have good and bad news. First the good news, I got engine libraries compiled and packaged into openwrt image: root@OpenWrt:/# ls -al /usr/lib/engines/ drwxr-xr-x2 root root 227 Mar 30 12:59 . drwxr-xr-x6 root root 452 Mar 30 11:54 .. -rw-r--r--1 root

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-03-28 Thread valent.turko...@gmail.com
You are awesome! I'll test is tomorrow. On 27 Mar 2013 01:58, "Jiri Slachta" wrote: > Hello Valent, > > those engine libraries are not installed because of /install macro of > openssl package. I've prepared a small unofficial patch for you, it's a > package libopenssl-engines. If it should be off

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-03-26 Thread Jiri Slachta
Hello Valent, those engine libraries are not installed because of /install macro of openssl package. I've prepared a small unofficial patch for you, it's a package libopenssl-engines. If it should be official, I suppose it should be rewritten a little into separate engine packages. You can gra

Re: [OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-03-26 Thread valent.turko...@gmail.com
Who is responsible openssl patches? I can't get openssl engines to be included in final openwrt image, libraries for engines get compiled but not copied into final image... I used menuconfig (libs>SSL>openssl stuff) to include engines etc. your .config should have these parameters set: CONFIG_PACK

[OpenWrt-Devel] how to enable openssl hardware encryption engine ?

2013-03-24 Thread valent.turko...@gmail.com
Hi, I have hardware capable of using VIA padlock encryption engine but it is far from trivial to get it working on openwrt. I didn't find any documentation regarding openssl engine support in openwrt, only one mention on this mailing list, a patch being submitted over two years ago... So any help