Re: [PATCH] crypto: doc - clarify hash callbacks state machine
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2018-03-19 09:25:20
Also in:
linux-doc, lkml
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2018-03-19 09:25:20
Also in:
linux-doc, lkml
On Mon, Mar 19, 2018 at 06:39:50AM +0000, Horia Geantă wrote:
The fact that there can be multiple requests in parallel (for a given tfm) is a different topic. Each request object has its state in its own state machine, independent from the other request objects. I assume this is clear enough.
My point is that all of the state associated with a request needs to be stored in the request object. If you're start storing things in the driver/hardware, then things will get ugly one way or another. Cheers, -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt