-
CONFIG_MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
¶
Enable MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
Type: bool
Help¶
Enable support for one and zeros padding for CBC cipher functions in mbedTLS. That is, fill buffer with 80 00 .. 00.
Direct dependencies¶
MBEDTLS_CIPHER_MODE_CBC
&& MBEDTLS_CIPHER_MODE_CBC
&& MBEDTLS_AES_C
&& NRF_SECURITY_ANY_BACKEND
&& NORDIC_SECURITY_BACKEND
(Includes any dependencies from ifs and menus.)
Default¶
y
Kconfig definition¶
At <nrfxlib>/nrf_security/Kconfig:439
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:23
→ <Zephyr>/modules/Kconfig:6
→ <BuildDir>/Kconfig/Kconfig.modules:14
→ <nrfxlib>/Kconfig.nrfxlib:13
Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → Nordic Security → Use Nordic provided security backend → AES - Advanced Encryption Standard → AES-CBC - AES Cipher Block Chaining mode → CBC cipher padding modes
config MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS bool "Enable MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS" default y depends onMBEDTLS_CIPHER_MODE_CBC
&&MBEDTLS_CIPHER_MODE_CBC
&&MBEDTLS_AES_C
&&NRF_SECURITY_ANY_BACKEND
&&NORDIC_SECURITY_BACKEND
help Enable support for one and zeros padding for CBC cipher functions in mbedTLS. That is, fill buffer with 80 00 .. 00.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)