Re: [PATCH v8 3/3] crypto: Add Inside Secure SafeXcel EIP-93 crypto engine support

From: Herbert Xu
Date: Wed Dec 11 2024 - 18:19:25 EST


On Wed, Dec 11, 2024 at 12:40:09PM +0100, Christian Marangi wrote:
>
> Just to make sure, this is only limited to DMA or it's also problematic
> to the block list? Aka NO FREE should be done in export or NO DMA FREE
> should be done in export?

It's all resources.

The user does not have to call export, final or finup. The request
object can be freed directly at any time after a call. So you can
never hold any resources in the request object between calls.

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