Re: [PATCH v4 3/5] crypto: tegra: Add Tegra Security Engine driver

From: Herbert Xu
Date: Tue Feb 06 2024 - 00:54:58 EST


On Tue, Feb 06, 2024 at 05:50:33AM +0000, Akhil R wrote:
>
> Understood the issue. But I feel it will be a bit overburden for the update()
> to copy/paste these for every call. Let me explore more on the hardware and
> come back with a better approach.

Of course it's a burden to copy it in and out on every update,
that is why we generally use digest and finup instead of update.

As a driver you don't need to worry about this cost.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt