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

NRF_SECURITY_ADVANCED && MBEDTLS_VANILLA_BACKEND && NORDIC_SECURITY_BACKEND

(Includes any dependencies from ifs and menus.)

Default

  • 521

Kconfig definition

At nrf_security/Kconfig:860

Included via /jenkins_workspace/workspace/nrfconnect-nrf_doc_v1.2-branch_2/nrfxlib/Kconfig.nrfxlib:14

Menu path: (Top) → 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 NRF_SECURITY_ADVANCED && MBEDTLS_VANILLA_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.)