[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180131.103329.1363126229531535840.davem@davemloft.net>
Date: Wed, 31 Jan 2018 10:33:29 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: vakul.garg@....com
Cc: linux-crypto@...r.kernel.org, ilyal@...lanox.com,
aviadye@...lanox.com, davejwatson@...com, netdev@...r.kernel.org
Subject: Re: [PATCHv2] tls: Add support for encryption using async offload
accelerator
From: Vakul Garg <vakul.garg@....com>
Date: Wed, 31 Jan 2018 21:34:37 +0530
> Async crypto accelerators (e.g. drivers/crypto/caam) support offloading
> GCM operation. If they are enabled, crypto_aead_encrypt() return error
> code -EINPROGRESS. In this case tls_do_encryption() needs to wait on a
> completion till the time the response for crypto offload request is
> received.
>
> Signed-off-by: Vakul Garg <vakul.garg@....com>
> ---
> v1-v2:
> - Used crypto_wait_req() to wait for async operation completion
> - Passed CRYPTO_TFM_REQ_MAY_BACKLOG to crypto_aead_encrypt
Applied.
Powered by blists - more mailing lists