CONFIG_MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
Enable MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
Type: bool
Help
Enable support for zeros and length padding for CBC cipher functions in mbedTLS.
That is, fill buffer with 00 .. 00 ll, where ll is padding length.
Direct dependencies
MBEDTLS_CIPHER_MODE_CBC
&& MBEDTLS_AES_C
&& MBEDTLS_LEGACY_CRYPTO_C
&& NRF_SECURITY
(Includes any dependencies from ifs and menus.)
Default
y
Kconfig definition
At <nrfxlib>/nrf_security/Kconfig.legacy:400
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:92
→ <nrfxlib>/Kconfig.nrfxlib:13
→ <nrfxlib>/nrf_security/Kconfig:111
Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → nrf_security module → Legacy mbed TLS crypto APIs → Enable (legacy) mbed TLS crypto APIs → AES - Advanced Encryption Standard → AES-CBC - AES Cipher Block Chaining mode → CBC cipher padding modes
config MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
bool "Enable MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN"
default y
depends on MBEDTLS_CIPHER_MODE_CBC && MBEDTLS_AES_C && MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY
help
Enable support for zeros and length padding for CBC cipher functions in mbedTLS.
That is, fill buffer with 00 .. 00 ll, where ll is padding length.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)