Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2330071pxb; Fri, 5 Feb 2021 15:20:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUpzGcuX7hLAbTidKTOIplFHgz+eKajtKyO4+UoKK70HifjrKEQ9x0V1VdbfG52NXiGhts X-Received: by 2002:a17:906:6057:: with SMTP id p23mr6313652ejj.281.1612567215931; Fri, 05 Feb 2021 15:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612567215; cv=none; d=google.com; s=arc-20160816; b=uaN311z4oo4Dh6C2Z1MDuMZbdpvdgiUk3frA1Qj3imST4PCYRGc+ucYHP/mYCQx/fH zkAWy+zyrLDIDa0nwAI4M6UwScmt4F38Dl5M4P66pyCuw7B7wMzx1YpN+eWVhcBP9jXh 5vPxFp58xNCUGZ2K6GXlUKwOrfqyiRUQ4tNSImJA4J7mzy2qMzyGAgosJgJ+plFKskdo 7IHRBxN20x+oqG1dk3//4vIsoufwRLJXCwiLgOJD9g1hnxYSziAdUKITAaQgVvIkPp2D ZNKHjUP/4RUhykbGJGMCO9Exe2GPn/zW4HM2gzUUIRE5cy9g10f/X4JgVdE3EwLRv5Ht WWuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=0d+xq+oPq39KxoGIk2kz118sEzhWLuFqIfGnkVP4+WI=; b=kBX7DcRPa6Vi9l4kmgbeK5DhzV57AuMfeGKSigjxKVYp14L8N0hor5+RTYCKJ05JkG qAai5cEa8Gi1GOuls88mupGHNqmEXf/DN0NpLDfH35pcTKZxQDcEfXvCM6h6ZQiC9/Vh 979qt4QNwnrcBlDod2QMnjbE9Am2YYGZLdqMTenoHXMJS4HEazTV4LX8veadFaCCOV25 3QAf5V/kI8OJUbCjxIrXECqOmwaycPbCm6pNzHgBgzr6g3KXCFkE8WLjOfT9PX613sdN 6fLv4O6lC63AWju5fyfPKdlKXLB7ftT5NpSCBzVTiFpJ+vBVB1BaDVRiUUsCpQJIoMXT widg== 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 h7si996791ejx.623.2021.02.05.15.19.51; Fri, 05 Feb 2021 15:20:15 -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 S230236AbhBEXTZ (ORCPT + 99 others); Fri, 5 Feb 2021 18:19:25 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:12853 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231230AbhBEKOX (ORCPT ); Fri, 5 Feb 2021 05:14:23 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DXB6V5Rdmz7h2g; Fri, 5 Feb 2021 18:12:02 +0800 (CST) Received: from huawei.com (10.67.165.24) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.498.0; Fri, 5 Feb 2021 18:13:11 +0800 From: Longfang Liu To: , , CC: , Subject: [PATCH 3/3] crypto: hisilicon/sec - fixes shash test error Date: Fri, 5 Feb 2021 18:10:57 +0800 Message-ID: <1612519857-30714-4-git-send-email-liulongfang@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1612519857-30714-1-git-send-email-liulongfang@huawei.com> References: <1612519857-30714-1-git-send-email-liulongfang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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 CONFIG_CRYPTO_SHA3_ARM64=m CONFIG_CRYPTO_SM3_ARM64_CE=m CONFIG_CRYPTO_GHASH_ARM64_CE=y -- 2.8.1