]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests/tls: add SM4 algorithm dependency for tls selftests
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Mon, 18 Oct 2021 06:42:01 +0000 (14:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Oct 2021 12:52:11 +0000 (13:52 +0100)
Kernel TLS test has added SM4 GCM/CCM algorithm support, but SM4
algorithm is not compiled by default, this patch add SM4 config
dependency.

Reported-by: Hangbin Liu <liuhangbin@gmail.com>
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/config

index 21b646d10b88f10e02315859ef67351f6ad0a29d..86ab429fe7f3bf506cf28c05ec6bec37cc11cdc0 100644 (file)
@@ -43,3 +43,4 @@ CONFIG_NET_ACT_TUNNEL_KEY=m
 CONFIG_NET_ACT_MIRRED=m
 CONFIG_BAREUDP=m
 CONFIG_IPV6_IOAM6_LWTUNNEL=y
+CONFIG_CRYPTO_SM4=y