On Wed, Dec 11, 2024 at 12:39:13PM +0100, Christian Marangi wrote: > > Do you have quick example for this? Just search for crypto_ahash_set_reqsize in drivers/crypto and see how they use the reqctx to store temporary data. For each request, you're guaranteed to have exclusive ownership of the reqctx. If you wish to DMA into the reqctx, search for ahash_request_ctx_dma to see how you should set it up. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt