Linux Kernel Selftest development
 help / color / mirror / Atom feed
From: Hangbin Liu <liuhangbin@gmail.com>
To: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Shuah Khan <shuah@kernel.org>,
	"Jason A. Donenfeld" <Jason@zx2c4.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	netdev@vger.kernel.org, linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] selftests/tls: Fix tls selftests dependency to correct algorithm
Date: Mon, 28 Nov 2022 15:25:28 +0800	[thread overview]
Message-ID: <Y4RiaNlXlaHK55Ih@Laptop-X1> (raw)
In-Reply-To: <4f84f23e-2835-c1b7-93f5-2730ec8b94fc@linux.alibaba.com>

On Mon, Nov 28, 2022 at 03:14:16PM +0800, Tianjia Zhang wrote:
> Hi Hangbin,
> 
> On 11/27/22 8:17 PM, Hangbin Liu wrote:
> > On Fri, Nov 25, 2022 at 08:19:05PM +0800, Tianjia Zhang wrote:
> > > Commit d2825fa9365d ("crypto: sm3,sm4 - move into crypto directory") moves
> > > the SM3 and SM4 stand-alone library and the algorithm implementation for
> > > the Crypto API into the same directory, and the corresponding relationship
> > > of Kconfig is modified, CONFIG_CRYPTO_SM3/4 corresponds to the stand-alone
> > > library of SM3/4, and CONFIG_CRYPTO_SM3/4_GENERIC corresponds to the
> > > algorithm implementation for the Crypto API. Therefore, it is necessary
> > > for this module to depend on the correct algorithm.
> > > 
> > > Fixes: d2825fa9365d ("crypto: sm3,sm4 - move into crypto directory")
> > > Cc: Jason A. Donenfeld <Jason@zx2c4.com>
> > > Cc: stable@vger.kernel.org # v5.19+
> > > Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
> > > ---
> > >   tools/testing/selftests/net/config | 2 +-
> > >   1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config
> > > index ead7963b9bf0..bd89198cd817 100644
> > > --- a/tools/testing/selftests/net/config
> > > +++ b/tools/testing/selftests/net/config
> > > @@ -43,5 +43,5 @@ CONFIG_NET_ACT_TUNNEL_KEY=m
> > >   CONFIG_NET_ACT_MIRRED=m
> > >   CONFIG_BAREUDP=m
> > >   CONFIG_IPV6_IOAM6_LWTUNNEL=y
> > > -CONFIG_CRYPTO_SM4=y
> > > +CONFIG_CRYPTO_SM4_GENERIC=y
> > >   CONFIG_AMT=m
> > > -- 
> > > 2.24.3 (Apple Git-128)
> > > 
> > 
> > Looks the issue in this discuss
> > https://lore.kernel.org/netdev/Y3c9zMbKsR+tcLHk@Laptop-X1/
> > related to your fix.
> > 
> 
> Thanks for your information, it is indeed the same issue.I don’t know if
> there is a patch to fix it. If not, can this patch solve this issue? If
> so, can I add Reported-by or Tested-by tag?
> 

Feel free to add Reported-by flag. I can't test this unless the patch merged
to upstream.

Thanks
Hangbin

  reply	other threads:[~2022-11-28  7:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 12:19 [PATCH] selftests/tls: Fix tls selftests dependency to correct algorithm Tianjia Zhang
2022-11-25 13:18 ` Bagas Sanjaya
2022-11-28  7:08   ` Tianjia Zhang
2022-11-27 12:17 ` Hangbin Liu
2022-11-28  7:14   ` Tianjia Zhang
2022-11-28  7:25     ` Hangbin Liu [this message]
2022-11-28  7:39       ` Tianjia Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y4RiaNlXlaHK55Ih@Laptop-X1 \
    --to=liuhangbin@gmail.com \
    --cc=Jason@zx2c4.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=shuah@kernel.org \
    --cc=tianjia.zhang@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox