Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp239694pxb; Sat, 20 Feb 2021 01:52:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBYgr186s6m36OpqmVmFgPt91FXcPb+SDXaYepMvb6mdUfx6qgTbtCu6dyGn7xUAW7eSJl X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr13156253edt.160.1613814759397; Sat, 20 Feb 2021 01:52:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613814759; cv=none; d=google.com; s=arc-20160816; b=NMyoAO9Df3pj2mvLlzyr7xx1N887SwKiU43CuIo+dw8ogX59M6GzQPhBfyRRz/hFpQ E/fIBJlopQWXws45rCcc1Ql1HOoW4ObsjljIU57NUPLncE599wQe8wRqR9KgFHknKJJs x4G04bGJIU+SqN9iOSNhlKcljSfQn/+ZLvixf3owzSUTtKGucGoPNQzIsHT+9XaVxp09 RiMlEssJ1Irz5yXWuYdIw8B/pWarTjYbuzcLYvx3qSOGqkqzJnkyWw/T9PZN2kJUaRZz EwGlPvcbFaLBi4htiXZF9xz+z/FbviZ0kuVqAp1h+VNoZ2w9LCD0vuFGob9bjmlzAq16 mlEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=OBkP/p5+k2Fr2nSUllRwvdjLuqe2hD4E+m2sD+EbNvI=; b=ItjvZhZdlbNPa0pSwjxnIfnb6lLYBxisDUCYuraOJqRDjXKsEvbNKqEJK6XAdVMK6z m5lyMX0Ak0l2JeX+sdRg0ORU55MsT3OLr9ndDCvsmgaghWtVF+ajxbw+HhEvifXg1FwY Sk4fyttycZQwLHZv+xbR0Xk+4fHrgIbzxp5NpBYwAk9XCKE6gXhSzwK95uR3d8MEMB2b 5qY0DM7tCMmcnOkJf+/bcUh5h/VKjWevqWKyQ6grKjR95bEgkeGzMzEoMNfM07s7NHr9 asYTPd2jMnWz7EU6dMzZln4xpOC9tLebs+F4SY+fNfEnfOsEDpwvKUf/ghoCjrNlQdBl z7rw== 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 s14si8181194edr.75.2021.02.20.01.52.16; Sat, 20 Feb 2021 01:52:39 -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 S229603AbhBTJwN (ORCPT + 99 others); Sat, 20 Feb 2021 04:52:13 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:13366 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbhBTJwN (ORCPT ); Sat, 20 Feb 2021 04:52:13 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DjNw569vNz7nCJ; Sat, 20 Feb 2021 17:49:57 +0800 (CST) Received: from [10.67.102.118] (10.67.102.118) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Sat, 20 Feb 2021 17:51:22 +0800 Subject: Re: [PATCH 3/3] crypto: hisilicon/sec - fixes shash test error To: Herbert Xu CC: , , , , "Ard Biesheuvel" References: <1612519857-30714-1-git-send-email-liulongfang@huawei.com> <1612519857-30714-4-git-send-email-liulongfang@huawei.com> <20210205114435.GA17031@gondor.apana.org.au> From: liulongfang Message-ID: <6e5d529d-07df-5db0-d5c0-72e90e13852d@huawei.com> Date: Sat, 20 Feb 2021 17:51:22 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20210205114435.GA17031@gondor.apana.org.au> Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.118] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 2021/2/5 19:44, Herbert Xu Wrote: > 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, > Hi, Since patch3 is an unnecessary patch, can you just remove it and merge patch1 and patch2? Thanks, Longfang.