The latest development version of this page may be more current than this released 3.0.0 version.

CONFIG_MBEDTLS_PSK_MAX_LEN

Max size of TLS pre-shared keys

Type: int

Help

Max size of TLS pre-shared keys, in bytes.

Direct dependencies

MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = “config-tls-generic.h” && MBEDTLS && 0

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At modules/mbedtls/Kconfig.tls-generic:83

Included via Kconfig:8Kconfig.zephyr:33modules/Kconfig:80modules/mbedtls/Kconfig:62

Menu path: (Top) → Modules → mbed TLS Support → TLS configuration → Ciphersuite configuration

config MBEDTLS_PSK_MAX_LEN
    int "Max size of TLS pre-shared keys"
    default 32
    depends on MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0
    help
      Max size of TLS pre-shared keys, in bytes.

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