Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14428174rwb; Mon, 28 Nov 2022 00:20:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf6K9vxPenXgdGDWpcWEI7jweqTJmG0ipvB/zrGcokxSJxuhkdF8x2I+tLs+24kzVPDlz6P4 X-Received: by 2002:a17:906:f895:b0:7bb:5d78:2c36 with SMTP id lg21-20020a170906f89500b007bb5d782c36mr16191889ejb.362.1669623658360; Mon, 28 Nov 2022 00:20:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669623658; cv=none; d=google.com; s=arc-20160816; b=qbIpEVN2zykTooHhQcFM+jCrs4wvWdp0OZl6bGlSYi6KZ0TDjFlI/vNDF7o+JNEbMB g6L36FH4Q1zR6270MhZzjrhg/7ieJshwwGs8FfK8fQD6dfZsGp9F0XIrEcESFq69aXnR JIWvzCtCPMAvC/CaCGF6wOCFuWb/RK6ibbs0Eox083xXEY9u9CtPn3sV/7fwYZTn7Vyd jBhBa++0uxc1kdSY8NKNhqvTxSDj6/JdakcCt0aQLv2es7EkICJEXtAvt7pVJ/7LYrd5 /r2VzP8quqZk0iB5GEaTMmW+ciltI3MkL8TAbe19+M1YVzbuGZX/QOv0F/SQWV4XCV4i qbsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gZsvAB7+KMmeT51IDp0sVTDeYAZgr+2zN8e+PrTd+Uk=; b=c5XZmuGrA58M9iXcsjr25vEYRfTxGlOznA/cZCndJLbqnS9C8c98kMfYKXS45lS93H miA02ZfkRvQRSOrukcvfn9u+xSAY7IMlypXgyV9t2B5Kdl0Pllju3ic71FFwtV40UeKr IFKE8h8YsJfkbq52efqES9/cgvha6M5TEMppaGTtmzbLLLqr9iYbNkJNYwB0ABDCndAb zKtkbVcdVff74F4kN9H6Iw1sjP74U+YHk+C2yPVoJ+CRvU0Z7KprtQ30nDtXbekkkTWF vi4gpd3t7wjdIfAR3K6B3HQmAOUKbExG0u8qwoGDGUKYyQJEty6uDZaR+5TyZ40FT9K4 h62A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WeyZhwB5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a05640211d300b00458ab55ccc9si8566268edw.168.2022.11.28.00.20.38; Mon, 28 Nov 2022 00:20:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WeyZhwB5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229919AbiK1HZh (ORCPT + 83 others); Mon, 28 Nov 2022 02:25:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbiK1HZg (ORCPT ); Mon, 28 Nov 2022 02:25:36 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75B9DA463; Sun, 27 Nov 2022 23:25:35 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id w23so9306432ply.12; Sun, 27 Nov 2022 23:25:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=gZsvAB7+KMmeT51IDp0sVTDeYAZgr+2zN8e+PrTd+Uk=; b=WeyZhwB5mrh4BETatjx32hXPF69BDlypKUCvSLDGeY40SLG7v71TzYzVgST1uaBANy o6uXJZyQRonxAyaZr+83o4kD/DFg1I7VIr/9doF8XnHLIb9ADo6ekVrn3/d7aU0oCYqi YTnwrPqmht1NgXQRVPEaUzrtN59UWacEpxKQeIxv0UD1UWT1YTt+n6Pse3MOcPs2zzcn esUDzDTB5/6xXSq0ks8p7XeIQ9Ihb6NLuY5+42zo31BawAVngQBqbi5zIEo+ugnM2Y8v 6ojmKRWTTCQsDfZe6J8Banow13iK/ytdfT8ZXsKHatoHaXROpZ7ihz5YS06V/eEaG1jK FpOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gZsvAB7+KMmeT51IDp0sVTDeYAZgr+2zN8e+PrTd+Uk=; b=uNq8ALhXLTCRxAmPS9bUchZ90gbz2T3Qi0mnMIBdY5MkZjje8NiIheFyWpTZxXm/q+ K8gX3QFQiWxdlZa0F4UXnMD+o0nOEPwz9gVXcjG2Vfr8HcrYBSEdNv0mmcwHHbpsDeG/ k9V3Fo/ew9iPjpBSf7veCuJXyyChhHpnfBdcQCeh/rvu3sMFUIEVI8PIkrmUp0CSkDXE tlqBy0SMUqy6S8oFnjxz4NqeDwjfixD6mriQILT+k/AUxBVsL7LXt8opiJXmqbJRwl/+ pypJoWXfhTES1fIWITXTENoKz+oKrd9qQBuHjUBOMqshWQCzd7fRT0PMi58LRhg+YQdJ dMiQ== X-Gm-Message-State: ANoB5pkq14jUc/iKMTBhjU+aufGrFPCGAXkruqvmeD5xgyd1staJ5hEc or7W4gQjj0pZKs+wo4k5Ops= X-Received: by 2002:a17:90a:9f03:b0:211:59c6:6133 with SMTP id n3-20020a17090a9f0300b0021159c66133mr53036655pjp.238.1669620334871; Sun, 27 Nov 2022 23:25:34 -0800 (PST) Received: from Laptop-X1 ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id g199-20020a6252d0000000b005742ee445fdsm7264625pfb.70.2022.11.27.23.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 23:25:34 -0800 (PST) Date: Mon, 28 Nov 2022 15:25:28 +0800 From: Hangbin Liu To: Tianjia Zhang Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , "Jason A. Donenfeld" , Herbert Xu , 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 Message-ID: References: <20221125121905.88292-1-tianjia.zhang@linux.alibaba.com> <4f84f23e-2835-c1b7-93f5-2730ec8b94fc@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4f84f23e-2835-c1b7-93f5-2730ec8b94fc@linux.alibaba.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > > Cc: stable@vger.kernel.org # v5.19+ > > > Signed-off-by: Tianjia Zhang > > > --- > > > 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