CONFIG_MBEDTLS_ECP_MAX_BITS

ECP - Max bit size of Elliptic Curves

Type: int

Help

This setting controls the largest elliptic curve supported in the library. If only smaller curves are used, then this value can be reduced in order to save memory. MBEDTLS_ECP_MAX_BITS setting in mbed TLS config file.

Direct dependencies

(CC3XX_BACKEND || VANILLA_MBEDTLS_AES_C) && NRF_SECURITY_ADVANCED && NRF_SECURITY_ANY_BACKEND && NORDIC_SECURITY_BACKEND

(Includes any dependencies from ifs and menus.)

Default

  • 521

Kconfig definition

At <nrfxlib>/nrf_security/Kconfig:1467

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:5<nrfxlib>/Kconfig.nrfxlib:13

Menu path: (Top) → Modules → Nordic nrfxlib → Nordic Security → Use Nordic provided security backend → Advanced mbed TLS Configuration Settings

config MBEDTLS_ECP_MAX_BITS
    int "ECP - Max bit size of Elliptic Curves"
    range 0 521
    default 521
    depends on (CC3XX_BACKEND || VANILLA_MBEDTLS_AES_C) && NRF_SECURITY_ADVANCED && NRF_SECURITY_ANY_BACKEND && NORDIC_SECURITY_BACKEND
    help
      This setting controls the largest elliptic curve supported in the library.
      If only smaller curves are used, then this value can be reduced in order to save memory.
      MBEDTLS_ECP_MAX_BITS setting in mbed TLS config file.

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