Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1371521

Re: [PATCH v3] crypto: af_alg - add async support to algif_aead

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH v3] crypto: af_alg - add async support to algif_aead
Date 2016-04-05 14:50 +0200
Message-ID <rkyAH-3wP-33@gated-at.bofh.it> (permalink)
References <rbBo6-2Dd-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@intel.com>

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v3] crypto: af_alg - add async support to algif_aead Herbert Xu <herbert@gondor.apana.org.au> - 2016-04-05 14:50 +0200

csiph-web