1common:
2  depends_on: netif
3  tags:
4    - net
5    - socket
6    - socket.register
7tests:
8  net.socket.register:
9    extra_configs:
10      - CONFIG_NET_SOCKETS_SOCKOPT_TLS=n
11  net.socket.register.tls:
12    extra_configs:
13      - CONFIG_MBEDTLS=y
14      - CONFIG_MBEDTLS_BUILTIN=y
15      - CONFIG_MBEDTLS_ENABLE_HEAP=y
16      - CONFIG_MBEDTLS_HEAP_SIZE=60000
17      - CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=2048
18      - CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
19      - CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=6
20      - CONFIG_NET_SOCKETS_ENABLE_DTLS=y
21      - CONFIG_NET_SOCKETS_DTLS_TIMEOUT=30000
22      - CONFIG_MAIN_STACK_SIZE=2048
23