CONFIG_MBEDTLS_MPI_MAX_SIZE

MPI - Multiple Precision Integers maximum size

Type: int

Help

Maximum number of bytes for usable Multiple Precision Integers (MPI) / Bignum. This will reduce the size of MPIs that can be used for calculation. Only reduce this value if it is ensured that the system won’t need larger numbers. MBEDTLS_MPI_MAX_SIZE 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

  • 1024

Kconfig definition

At <nrfxlib>/nrf_security/Kconfig:1456

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_MPI_MAX_SIZE
    int "MPI - Multiple Precision Integers maximum size"
    range 0 1024
    default 1024
    depends on (CC3XX_BACKEND || VANILLA_MBEDTLS_AES_C) && NRF_SECURITY_ADVANCED && NRF_SECURITY_ANY_BACKEND && NORDIC_SECURITY_BACKEND
    help
      Maximum number of bytes for usable Multiple Precision Integers (MPI) / Bignum.
      This will reduce the size of MPIs that can be used for calculation.
      Only reduce this value if it is ensured that the system won't need larger numbers.
      MBEDTLS_MPI_MAX_SIZE setting in mbed TLS config file.

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