On Thu, Oct 12, 2017 at 09:39:34AM +0000, Horia Geantă wrote: > > Taking ascii art from crypto API docs: > > DATA -----------. > v > .init() -> .update() -> .final() ! .update() might not be called > ^ | | at all in this scenario. > '----' '---> HASH > > My question was referring to the case where multiple update() operations > are issued in parallel for the same request object. > For e.g. let's say a crypto API client wants to hash a 4GB file, and > does this by issuing update() repeatedly and performing > wait_for_completion() at the very end. That is most certainly not legal. Is dm-crypt doing that? Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt