befad07fd4
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
32 lines
705 B
Plaintext
32 lines
705 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
menuconfig BCH
|
|
bool "Block-to-Character (BCH) Support"
|
|
default n
|
|
---help---
|
|
Contains logic that may be used to convert a block driver into
|
|
a character driver. This is the complementary conversion as that
|
|
performed by loop.c. See include/nuttx/drivers/drivers.h for
|
|
registration information.
|
|
|
|
if BCH
|
|
|
|
config BCH_ENCRYPTION
|
|
bool "Enable BCH encryption"
|
|
default n
|
|
depends on CRYPTO_AES
|
|
|
|
config BCH_ENCRYPTION_KEY_SIZE
|
|
int "AES key size"
|
|
default 16
|
|
depends on BCH_ENCRYPTION
|
|
|
|
config BCH_BUFFER_ALIGNMENT
|
|
int "Buffer aligned bytes"
|
|
default 0
|
|
|
|
endif # BCH
|