Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758500AbcDEMnu (ORCPT ); Tue, 5 Apr 2016 08:43:50 -0400 Received: from helcar.hengli.com.au ([209.40.204.226]:52248 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758326AbcDEMns (ORCPT ); Tue, 5 Apr 2016 08:43:48 -0400 Date: Tue, 5 Apr 2016 20:43:41 +0800 From: Herbert Xu To: Tadeusz Struk Cc: smueller@chronox.de, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Subject: Re: [PATCH v3] crypto: af_alg - add async support to algif_aead Message-ID: <20160405124341.GA13048@gondor.apana.org.au> References: <20160311195033.22534.88064.stgit@tstruk-mobl1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160311195033.22534.88064.stgit@tstruk-mobl1> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 935 Lines: 24 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 Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt