Re: [PATCH v3] crypto: af_alg - add async support to algif_aead
From: Herbert Xu
Date: Tue Apr 05 2016 - 08:43:53 EST
On Fri, Mar 11, 2016 at 11:50:33AM -0800, Tadeusz Struk wrote:
> Following the async change for algif_skcipher
> this patch adds similar async read to algif_aead.
>
> changes in v3:
> - add call to aead_reset_ctx directly from aead_put_sgl instead of calling
> them separatelly one after the other
> - remove wait from aead_sock_destruct function as it is not needed
> when sock_hold is used
>
> changes in v2:
> - change internal data structures from fixed size arrays, limited to
> RSGL_MAX_ENTRIES, to linked list model with no artificial limitation.
> - use sock_kmalloc instead of kmalloc for memory allocation
> - use sock_hold instead of separate atomic ctr to wait for outstanding
> request
>
> Signed-off-by: Tadeusz Struk <tadeusz.struk@xxxxxxxxx>
Applied.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt