From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 0/3] crypto: x86/sha1 - regression and other fixes Date: Mon, 24 Mar 2014 10:04:57 -0700 Message-ID: <533065B9.8000106@zytor.com> References: <1395677439-7478-1-git-send-email-minipli@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: linux-crypto@vger.kernel.org, Chandramouli Narayanan , Marek Vasut To: Mathias Krause , Herbert Xu , "David S. Miller" Return-path: Received: from terminus.zytor.com ([198.137.202.10]:45630 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752638AbaCXRFW (ORCPT ); Mon, 24 Mar 2014 13:05:22 -0400 In-Reply-To: <1395677439-7478-1-git-send-email-minipli@googlemail.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: On 03/24/2014 09:10 AM, Mathias Krause wrote: > The recent addition of the AVX2 variant of the SHA1 hash function wrongly > disabled the AVX variant by introducing a flaw in the feature test. Fixed > in patch 1. > > The alignment calculations of the AVX2 assembler implementation are > questionable, too. Especially the page alignment of the stack pointer is > broken in multiple ways. Fixed in patch 2. In patch 3 another issue for > code alignment is fixed. > > Please apply! > Yikes. Yes... the alignment calculation is confused in the extreme. -hpa