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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux