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