2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 23:49:35 +08:00
|
|
|
#
|
2014-07-07 22:00:00 +08:00
|
|
|
|
2020-02-15 21:38:35 +08:00
|
|
|
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.
|
|
|
|
|
2020-02-08 15:30:09 +08:00
|
|
|
if BCH
|
|
|
|
|
2014-07-07 22:00:00 +08:00
|
|
|
config BCH_ENCRYPTION
|
2014-07-07 22:03:18 +08:00
|
|
|
bool "Enable BCH encryption"
|
2014-07-07 22:00:00 +08:00
|
|
|
default n
|
|
|
|
depends on CRYPTO_AES
|
|
|
|
|
|
|
|
config BCH_ENCRYPTION_KEY_SIZE
|
|
|
|
int "AES key size"
|
|
|
|
default 16
|
2020-02-07 21:17:25 +08:00
|
|
|
depends on BCH_ENCRYPTION
|
2020-02-08 15:30:09 +08:00
|
|
|
|
2021-12-06 22:53:21 +08:00
|
|
|
config BCH_BUFFER_ALIGNMENT
|
|
|
|
int "Buffer aligned bytes"
|
|
|
|
default 0
|
|
|
|
|
2020-02-08 15:30:09 +08:00
|
|
|
endif # BCH
|