Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2128565imm; Mon, 3 Sep 2018 20:19:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYS1mHce/tsogu7oi6xL/n/R8hmqbbRe56yovq9o4aplcYvSdK7N935w2pOr6xGh8O3DmYB X-Received: by 2002:a63:2bc9:: with SMTP id r192-v6mr9403112pgr.386.1536031164123; Mon, 03 Sep 2018 20:19:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536031164; cv=none; d=google.com; s=arc-20160816; b=LNqaVz3OeWLFwJkH/yydRvMwGZUM0jwJ6RVip9CWyo0xnO45hZUtTOAurNBNG/3wth lGtzAqGSEC5JHgMLiSdiAYpOvbF8MDLagAjmwxZZANbBo9JC22kToHb5EewXyRabk260 bgMzrLtNLc1gT9zefq2pEaR307jI+wJkDjNp4EpApw/oYv+bHd0IbmBWpkTGratfm+EF HoAvQMuacBD1sxC1etcZ3BHXSZ+A0ZRD3hpecKD90jo2TakThmeZ8PncO8AJDWqMrfQI Em/OyFSkfrOg18E3SeUJnAjnghOHt2GjSxPynrudFfeS6UaVtyE1XZw0AEH5a1+Ddo88 RDSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=bJ4i8Kvt7lTK3DutN04JN0yRMqMS6eBquN8Fr/BKN0U=; b=wRCHJ53feASyLtyiTK1jUDIFJKizjSwCKHef99kTHrvgKfdgErL6osBXwhUXjMj+2K dfQPqSKe+ab2Jl9DNO35v+L+9QVUOPcEtCyiZH92fbOnPtxCQD30P4HAnOmZQpDDF4MX +5bTROaVhKCnDR0RM6s7ldXanoa7rVvvZlgeBwlbPxEVlYPn1VaWrHiy0cC1Z2yLPG8W kHmzuDXNYcruMO4BX1AplmRvVb16wJz3KCXj1TO/r+/5HDHJ22KffN2v5aa/3ZPweoj/ 0TQX/Sgz7+Knofzy+pzHvj1wy4KFrnQZYe/Q8iXoxhTv5R3PDaiGUsNS6/Xygu6Zp3R5 fzHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k14-v6si9147833pga.149.2018.09.03.20.19.08; Mon, 03 Sep 2018 20:19:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726280AbeIDHlI (ORCPT + 99 others); Tue, 4 Sep 2018 03:41:08 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:38708 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbeIDHlI (ORCPT ); Tue, 4 Sep 2018 03:41:08 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1fx1qt-0007AR-Id; Tue, 04 Sep 2018 11:18:03 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1fx1qN-0001jx-Hf; Tue, 04 Sep 2018 11:17:31 +0800 Date: Tue, 4 Sep 2018 11:17:31 +0800 From: Herbert Xu To: Megha Dey Cc: Tim Chen , Ard Biesheuvel , linux-crypto@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, ebiggers@google.com, Geert Uytterhoeven , Martin Schwidefsky , Heiko Carstens , Thomas Gleixner , Ingo Molnar Subject: Re: [PATCH] crypto: x86 - remove SHA multibuffer routines and mcryptd Message-ID: <20180904031731.ehi2jzx3retkhyql@gondor.apana.org.au> References: <20180822085144.4872-1-ard.biesheuvel@linaro.org> <1535411993.3516.4.camel@megha-Z97X-UD7-TH> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1535411993.3516.4.camel@megha-Z97X-UD7-TH> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 27, 2018 at 04:19:53PM -0700, Megha Dey wrote: > On Mon, 2018-08-27 at 15:28 -0700, Tim Chen wrote: > > On 08/22/2018 01:51 AM, Ard Biesheuvel wrote: > > > As it turns out, the AVX2 multibuffer SHA routines are currently > > > broken [0], in a way that would have likely been noticed if this > > > code were in wide use. Since the code is too complicated to be > > > maintained by anyone except the original authors, and since the > > > performance benefits for real-world use cases are debatable to > > > begin with, it is better to drop it entirely for the moment. > > > > > > [0] https://marc.info/?l=linux-crypto-vger&m=153476243825350&w=2 > > > > Sorry I was out of the loop for a while and haven't been following > > the code too closely. > > > > Megha is maintaining the code now. Before we pull the code, > > please give us a chance to fix it first. > > > > Thanks. > > > > Tim > > > > Hi, > > I am working to find a fix for these corner cases. If possible, we would > like to fix the issues instead of removing the code altogether. I think it has taken way too long to fix these issues. The fact that these issues have existed for so long also means that hardly anyone uses these mb algorithms. So I think it is best if we remove everything and then add them back after a proper review process. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt