CONFIG_NET_SOCKETS_TLS_MAX_CIPHERSUITES

Maximum number of TLS/DTLS ciphersuites per socket

Type: int

Help

This variable sets maximum number of TLS/DTLS ciphersuites that can be used with specific socket, if set explicitly by socket option. By default, all ciphersuites that are available in the system are available to the socket.

Direct dependencies

NET_SOCKETS_SOCKOPT_TLS && NET_SOCKETS && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 4

Kconfig definition

At subsys/net/lib/sockets/Kconfig:93

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:82subsys/net/lib/Kconfig:28

Menu path: (Top) → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API → Enable TCP TLS socket option support [EXPERIMENTAL]

config NET_SOCKETS_TLS_MAX_CIPHERSUITES
    int "Maximum number of TLS/DTLS ciphersuites per socket"
    default 4
    depends on NET_SOCKETS_SOCKOPT_TLS && NET_SOCKETS && NETWORKING
    help
      This variable sets maximum number of TLS/DTLS ciphersuites that can
      be used with specific socket, if set explicitly by socket option.
      By default, all ciphersuites that are available in the system are
      available to the socket.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)