[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9194c58f-f240-b993-5fec-2a994b26f0eb@huawei.com>
Date: Tue, 23 Mar 2021 15:41:10 +0800
From: tanghui20 <tanghui20@...wei.com>
To: Yang Yingliang <yangyingliang@...wei.com>,
<linux-crypto@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <xuzaibo@...wei.com>, <herbert@...dor.apana.org.au>,
<davem@...emloft.net>
Subject: Re: [PATCH -next] crypto: hisilicon/hpre: fix link error
There is a patch similar to yours that was send in advance, as follows:
https://www.spinics.net/lists/linux-crypto/msg54238.html
On 2021/3/23 15:27, Yang Yingliang wrote:
> Fix the follow link error by select config CRYPTO_ECC and CRYPTO_ECDH.
>
> ERROR: modpost: "ecc_get_curve25519" [drivers/crypto/hisilicon/hpre/hisi_hpre.ko] undefined!
> ERROR: modpost: "ecc_get_curve" [drivers/crypto/hisilicon/hpre/hisi_hpre.ko] undefined!
> ERROR: modpost: "crypto_ecdh_decode_key" [drivers/crypto/hisilicon/hpre/hisi_hpre.ko] undefined!
>
> Fixes: 90274769cf79 ("crypto: hisilicon/hpre - add 'CURVE25519' algorithm")
> Fixes: 05e7b906aa7c ("crypto: hisilicon/hpre - add 'ECDH' algorithm")
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
> ---
> drivers/crypto/hisilicon/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig
> index c45adb15ce8d..d87c89af2a7f 100644
> --- a/drivers/crypto/hisilicon/Kconfig
> +++ b/drivers/crypto/hisilicon/Kconfig
> @@ -69,6 +69,8 @@ config CRYPTO_DEV_HISI_HPRE
> select CRYPTO_DEV_HISI_QM
> select CRYPTO_DH
> select CRYPTO_RSA
> + select CRYPTO_ECC
> + select CRYPTO_ECDH
> help
> Support for HiSilicon HPRE(High Performance RSA Engine)
> accelerator, which can accelerate RSA and DH algorithms.
>
Powered by blists - more mailing lists