Re: [PATCH v2 2/2] crypto: sahara - add support for SHA1/256

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On Fri, Oct 24, 2014 at 09:41:27PM +0800, Herbert Xu wrote:
> On Tue, Oct 07, 2014 at 08:47:05AM +0200, Steffen Trumtrar wrote:
> >
> > > This is still wrong since the context needs to be stored in the
> > > request.  Otherwise multiple requests will corrupt each other's
> > > state.
> > > 
> > 
> > :-( Okay.
> > 
> > What would I have to do to test if it works correctly?
> > 
> > I tested this with AF_ALG from userspace and opened two file descriptors
> > and wrote to them in turns. Wouldn't that produce multiple requests?
> 
> It should if you're not finalising the result.  Can you show me
> your test program?
> 

In the mean time I worked on the code a bit more and will send out a v3 in
a second. And I think I now understand your concern and have already
changed the code accordingly.

Thanks,
Steffen

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux