From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from deadmen.hmeau.com (orcrist.hmeau.com [104.223.48.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40CTVD1RWNzF1yV for ; Sat, 31 Mar 2018 04:42:59 +1100 (AEDT) Date: Sat, 31 Mar 2018 01:42:44 +0800 From: Herbert Xu To: Christophe Leroy Cc: "David S. Miller" , horia.geanta@nxp.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v2] crypto: talitos - fix IPsec cipher in length Message-ID: <20180330174243.GH28120@gondor.apana.org.au> References: <20180322095701.4563E6F352@po15720vm.idsi0.si.c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <20180322095701.4563E6F352@po15720vm.idsi0.si.c-s.fr> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Mar 22, 2018 at 10:57:01AM +0100, Christophe Leroy wrote: > For SEC 2.x+, cipher in length must contain only the ciphertext length. > In case of using hardware ICV checking, the ICV length is provided via > the "extent" field of the descriptor pointer. > > Cc: # 4.8+ > Fixes: 549bd8bc5987 ("crypto: talitos - Implement AEAD for SEC1 using HMAC_SNOOP_NO_AFEU") > Reported-by: Horia Geantă > Signed-off-by: Christophe Leroy Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt