Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965522AbdLVJPv (ORCPT ); Fri, 22 Dec 2017 04:15:51 -0500 Received: from [128.1.224.119] ([128.1.224.119]:46496 "EHLO ringil.hmeau.com" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S933255AbdLVJPF (ORCPT ); Fri, 22 Dec 2017 04:15:05 -0500 Date: Fri, 22 Dec 2017 20:10:53 +1100 From: Herbert Xu To: Sabrina Dubroca Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, sbrivio@redhat.com, ilyal@mellanox.com Subject: Re: [PATCH crypto] crypto: aesni - add wrapper for generic gcm(aes) Message-ID: <20171222091053.GI32542@gondor.apana.org.au> References: <0a60d233428e2e9bca747a29712688b6e66b59ac.1513172421.git.sd@queasysnail.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a60d233428e2e9bca747a29712688b6e66b59ac.1513172421.git.sd@queasysnail.net> 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: 696 Lines: 16 On Wed, Dec 13, 2017 at 02:54:36PM +0100, Sabrina Dubroca wrote: > When I added generic-gcm-aes I didn't add a wrapper like the one > provided for rfc4106(gcm(aes)). We need to add a cryptd wrapper to fall > back on in case the FPU is not available, otherwise we might corrupt the > FPU state. > > Fixes: cce2ea8d90fe ("crypto: aesni - add generic gcm(aes)") > Reported-by: Ilya Lesokhin > Signed-off-by: Sabrina Dubroca > Reviewed-by: Stefano Brivio Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt