Re: Fwd: crypto accelerator driver problems

2011-07-04 Thread Herbert Xu
On Tue, Jul 05, 2011 at 10:15:08AM +0330, Hamid Nassiby wrote: > > and preferably to : > > /* Critical PSEUDO code */ > /* distinct locks for write_to_device and read_from_device */ > spin_lock_irqsave(&lock1, flag1); > write_to_device(op, 0, my_req_id); >

Re: Fwd: crypto accelerator driver problems

2011-07-04 Thread Hamid Nassiby
On Thu, Jan 27, 2011 at 3:03 AM, Herbert Xu wrote: > > On Wed, Jan 26, 2011 at 11:20:22AM +0330, Hamid Nassiby wrote: > > > > Do you mean that different IP packets fit into one single Block Cipher tfm? > > Would you please explain expansively? > > We allocate one tfm per SA.  So as long as orderin

Re: [PATCH] s390: support hardware accelerated SHA-224

2011-07-04 Thread Herbert Xu
On Wed, Jun 29, 2011 at 02:23:16PM +0200, Jan Glauber wrote: > On recent s390 machines hardware acceleration is available for SHA-256. > SHA-224 is based on SHA-256 so it can also be accelerated by hardware. > Do this by adding the proper algorithm description and initialization. > > Signed-off-by