lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221121093324.74fc794f@kernel.org>
Date:   Mon, 21 Nov 2022 09:33:24 -0800
From:   Jakub Kicinski <kuba@...nel.org>
To:     Hangbin Liu <liuhangbin@...il.com>
Cc:     netdev@...r.kernel.org
Subject: Re: [Need Help] tls selftest failed

On Sun, 20 Nov 2022 11:17:17 +0800 Hangbin Liu wrote:
> On Fri, Nov 18, 2022 at 08:13:09AM -0800, Jakub Kicinski wrote:
> > Hm, looks like a config problem. CRYPTO_SM4 is not enabled in the
> > config, even tho it's listed in tools/testing/selftests/net/config. 
> > Maybe it's not the right symbol to list in the test, or there is
> > a dependency we missed?  
> 
> From the build log[1], the CKI will read selftests/net/config and reset
> CONFIGs if it is not defined or need redefined. e.g.
> 
> ```
> Value of CONFIG_MPLS_IPTUNNEL is redefined by fragment
> ./tools/testing/selftests/net/config:
> Previous value: CONFIG_MPLS_IPTUNNEL=y
> New value: CONFIG_MPLS_IPTUNNEL=m
> 
> Value of CONFIG_NET_SCH_INGRESS is redefined by fragment
> ./tools/testing/selftests/net/config:
> Previous value: CONFIG_NET_SCH_INGRESS=y
> New value: CONFIG_NET_SCH_INGRESS=m
> 
> Value of CONFIG_NET_CLS_FLOWER is redefined by fragment
> ./tools/testing/selftests/net/config:
> Previous value: CONFIG_NET_CLS_FLOWER=y
> New value: CONFIG_NET_CLS_FLOWER=m
> ```

But these only list downgrades from =y to =m,
none of them actually enable things.
 
> And in the config file[2], all the CONFIGs in selftests/net/config are
> set correctly except CONFIG_CRYPTO_SM4. I saw in the config file it shows
> 
> # CONFIG_CRYPTO_SM4_GENERIC is not set
> 
> Is there any dependence for CONFIG_CRYPTO_SM4?

none that I can see:

config CRYPTO_SM4
        tristate

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ