Re: [PATCH 16/18] crypto: talitos - do hw_context DMA mapping outside the requests
From: Horia Geantă <horia.geanta@nxp.com>
Date: 2018-02-22 12:29:33
Also in:
linux-crypto, lkml
From: Horia Geantă <horia.geanta@nxp.com>
Date: 2018-02-22 12:29:33
Also in:
linux-crypto, lkml
On 2/22/2018 1:47 PM, Herbert Xu wrote:=0A=
On Tue, Feb 20, 2018 at 11:32:25AM +0000, Horia Geant=E3 wrote:=0A=quoted
=0A= If final/finup is optional, how is the final hash supposed to be retriev=
ed?=0A=
=0A= Sometimes the computation ends with a partial hash, that's what=0A= export is for. Also it is completely legal to abandon the hash=0A= state entirely.=0A= =0A=
Thanks for the explanation.=0A= It's unintuitive to call .init() -> .update() and then not to call any of= =0A= .final(), .finup(), .export().=0A= =0A= Christophe,=0A= =0A= IIUC this means that there is no room for improvement.=0A= This patch needs to be reverted, to restore previous behaviour when the=0A= hw_context was mapped / unmapped for every request.=0A= =0A= Thanks,=0A= Horia=0A=