Hi Martin,

On Thu, Jul 12, 2012 at 12:30:35PM +0200, Martin Mueller wrote:
> > On Wed, Jun 06, 2012 at 01:56:03PM +0300, Daniel Golle wrote:
> > > Hi Martin,
> > > thanks for bringing that up, sounds like a good improvement.
> > 
> > Can you give us some numbers? I'm attaching two output files (before and
> > after applying this patch). I have also rebuilt openssl so it uses hw
> > crypto support.
> 
> It's not so easy to use openssl with the mv_cesa engine. I used
> cryptodev-linux and patches to openssl to test the TDMA stuff, but
> perfomance with tinc and openssl was worse than with software crypto.
> Probably because of small packetsize and kernel/userspace transfers.

I have managed to make it work yesterday. I was missing ocf kernel
module. Here are my results:

http://pastebin.lukaperkov.net/openwrt/20120712_kirkwood_crypto_test_results

> Without cryptodev-linux and patches to openssl, the ioctls on
> /dev/crypto fail and openssl falls back to soaftware crypto, which you
> can see in your figures.
> 
> The main thing the TDMA patch accelerates and for what I use it is
> encryted block devices with dm-crypt. 

Ok. I have seen that the patch is updated:

http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg07206.html

But it does not apply to 3.3. I would like to merge it once 3.5 is out.

Luka
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to