From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752174AbbHRCko (ORCPT ); Mon, 17 Aug 2015 22:40:44 -0400 Received: from helcar.hengli.com.au ([209.40.204.226]:44459 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751548AbbHRCkn (ORCPT ); Mon, 17 Aug 2015 22:40:43 -0400 Date: Tue, 18 Aug 2015 10:40:40 +0800 From: Herbert Xu To: Leonidas S Barbosa Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Paulo Smorigo , "David S. Miller" Subject: Re: [PATCH 1/2] Fixing vmx-crypto AES-CTR counter bug Message-ID: <20150818024040.GC4957@gondor.apana.org.au> References: <20150814131218.GA11746@bluepex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150814131218.GA11746@bluepex.com> 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 On Fri, Aug 14, 2015 at 10:12:22AM -0300, Leonidas S Barbosa wrote: > AES-CTR is using a counter 8bytes-8bytes what miss match with > kernel specs. > > In the previous code a vadduwm was done to increment counter. > Replacing this for a vadduqm now considering both cases counter > 8-8 bytes and full 16bytes. > > Signed-off-by: Leonidas S Barbosa Both fixes applied but I'll push them after the merge window opens as they don't seem to be critical. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt