From patchwork Fri Oct 22 09:10:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "yekai (A)" X-Patchwork-Id: 12577439 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97E82C433EF for ; Fri, 22 Oct 2021 09:13:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 77FE361108 for ; Fri, 22 Oct 2021 09:13:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232498AbhJVJPR (ORCPT ); Fri, 22 Oct 2021 05:15:17 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:14845 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbhJVJPK (ORCPT ); Fri, 22 Oct 2021 05:15:10 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4HbJQy11yBz90QV; Fri, 22 Oct 2021 17:07:54 +0800 (CST) Received: from dggpeml100012.china.huawei.com (7.185.36.121) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Fri, 22 Oct 2021 17:12:51 +0800 Received: from huawei.com (10.69.192.56) by dggpeml100012.china.huawei.com (7.185.36.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Fri, 22 Oct 2021 17:12:51 +0800 From: Kai Ye To: CC: , , , , Subject: [PATCH v3 6/6] crypto: hisilicon/sec - add sm3/md5 generic selection for ahash Date: Fri, 22 Oct 2021 17:10:55 +0800 Message-ID: <20211022091055.15369-7-yekai13@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211022091055.15369-1-yekai13@huawei.com> References: <20211022091055.15369-1-yekai13@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml100012.china.huawei.com (7.185.36.121) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add sm3/md5 generic selection for ahash in the Kconfig. Signed-off-by: Kai Ye --- drivers/crypto/hisilicon/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig index e572f9982d4e..300398665fc5 100644 --- a/drivers/crypto/hisilicon/Kconfig +++ b/drivers/crypto/hisilicon/Kconfig @@ -23,6 +23,8 @@ config CRYPTO_DEV_HISI_SEC2 select CRYPTO_AEAD select CRYPTO_AUTHENC select CRYPTO_HMAC + select CRYPTO_MD5 + select CRYPTO_SM3 select CRYPTO_SHA1 select CRYPTO_SHA256 select CRYPTO_SHA512