[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d612599a-b773-42ca-acfa-67b6867f96e6@huawei.com>
Date: Tue, 1 Jul 2025 11:49:23 +0800
From: Gu Bowen <gubowen5@...wei.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
CC: Herbert Xu <herbert@...dor.apana.org.au>, David Howells
<dhowells@...hat.com>, David Woodhouse <dwmw2@...radead.org>, Lukas Wunner
<lukas@...ner.de>, Ignat Korchagin <ignat@...udflare.com>, "David S . Miller"
<davem@...emloft.net>, Jarkko Sakkinen <jarkko@...nel.org>, Maxime Coquelin
<mcoquelin.stm32@...il.com>, Alexandre Torgue <alexandre.torgue@...s.st.com>,
Eric Biggers <ebiggers@...nel.org>, "Jason A . Donenfeld" <Jason@...c4.com>,
Ard Biesheuvel <ardb@...nel.org>, Tianjia Zhang
<tianjia.zhang@...ux.alibaba.com>, <keyrings@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-crypto@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>, Lu Jialin <lujialin4@...wei.com>,
GONG Ruiqi <gongruiqi1@...wei.com>
Subject: Re: [PATCH RFC 0/4] Reintroduce the sm2 algorithm
Hi,
On 7/1/2025 3:41 AM, Dan Carpenter wrote:
> On Mon, Jun 30, 2025 at 09:39:30PM +0800, Gu Bowen wrote:
>> To reintroduce the sm2 algorithm, the patch set did the following:
>> - Reintroduce the mpi library based on libgcrypt.
>> - Reintroduce ec implementation to MPI library.
>> - Rework sm2 algorithm.
>> - Support verification of X.509 certificates.
>
> Remind me, why did we remove these?
>
At first, the process of calculating the digest with the SM2 certificate
was coupled with the signature verification process, and this
unreasonable situation was corrected with commit e5221fa6a355 ("KEYS:
asymmetric: Move sm2 code into x509_public_key "). However, this commit
also caused SM2 to be unable to verify secondary certificates due to its
special implementation. This issue was not resolved, which led to the
removal of the sm2 algorithm.
Powered by blists - more mailing lists