Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1876767pxb; Fri, 5 Feb 2021 03:49:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzo5XweDlBrF3jJeoFw+OtXBTelw2V4XPhxaVN1PLXxB1VJykyFQcAlJ9ZFTYu55r6jLUUi X-Received: by 2002:a17:906:1956:: with SMTP id b22mr3851374eje.114.1612525797736; Fri, 05 Feb 2021 03:49:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612525797; cv=none; d=google.com; s=arc-20160816; b=caqp0qEHOY+1+ImMifnI2YCFDGfL23IIlTxegeBdtJLa1MiZTU66I0upg8+kf8tB3t vUqiHWzYZd9OCPYN3M8X/X58RWJJDy64jiGZCudeAv0pHu5YnwgC730QhMNwf0MMW25+ epF9oP5UDVZPvz1pLwOCl8L89wa4Pz7If+uiTWREbzYQL4fABaDvtu1ghl9lDvbwmJES q1culbD2ygVtFJkURZtSaDBWGMUeSiRKu0321H+HzfPeMGonujwQ1XHiujQsbK3Zq0OE SACd0a4gb/aDnhTAyRjtVIpRo3sJDSvKv0LJmZH1M5C1AVR3h4QU6McNEDmAThbSj39L pdAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6plTLzYpkAT7m++PxCYQDUDOIfqx/+z4QZVNuIWoI8A=; b=we8Nuy1lB1zffDwbINzUgDACcadC6yxsWDEEp7VZaBZYKicjCnFvN7JvyoN3EbC59t AFhBVAPvE9QZW/lzrOySf8iKaUTvHfRj93cr/+/+9yNwv/uV3usnACyxw+S5uDW50fOK Grs2ITtfdjLgvDPKqC1X+Y/evak5HDr35tKC1KJw0wm6ZqD/tWiIOrLhkkWzw7YovlBi w4OzfqBlpcW0KjxAZ6pu8X9/9/FGhiQziLMMv6HjC/2yGA8oulTKaxSHMW1KnRSf6orE 6sJZW0uL12oS7i8J8T6TOrx6O2jhRGCN/bA1X07JTfN0UmdBuCeQuV0WuBHCzsQh4z8n 0kAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si5238137edd.393.2021.02.05.03.49.24; Fri, 05 Feb 2021 03:49:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231580AbhBELsp (ORCPT + 99 others); Fri, 5 Feb 2021 06:48:45 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:56120 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231686AbhBELpn (ORCPT ); Fri, 5 Feb 2021 06:45:43 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1l7zXP-0001cS-NS; Fri, 05 Feb 2021 22:44:36 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 05 Feb 2021 22:44:35 +1100 Date: Fri, 5 Feb 2021 22:44:35 +1100 From: Herbert Xu To: Longfang Liu Cc: wangzhou1@hisilicon.com, xuzaibo@huawei.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Ard Biesheuvel Subject: Re: [PATCH 3/3] crypto: hisilicon/sec - fixes shash test error Message-ID: <20210205114435.GA17031@gondor.apana.org.au> References: <1612519857-30714-1-git-send-email-liulongfang@huawei.com> <1612519857-30714-4-git-send-email-liulongfang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1612519857-30714-4-git-send-email-liulongfang@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Feb 05, 2021 at 06:10:57PM +0800, Longfang Liu wrote: > If this configuration item is not turned on, > the allocation of crypto_tfm will fail when > the shash algorithm calculates the hash > through the software. > > Signed-off-by: Longfang Liu > --- > arch/arm64/configs/defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index 8383016..7cfc9b6 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -117,7 +117,7 @@ CONFIG_KVM=y > CONFIG_ARM64_CRYPTO=y > CONFIG_CRYPTO_SHA1_ARM64_CE=y > CONFIG_CRYPTO_SHA2_ARM64_CE=y > -CONFIG_CRYPTO_SHA512_ARM64_CE=m > +CONFIG_CRYPTO_SHA512_ARM64_CE=y If this is truly needed then it should be enabled through Kconfig. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt