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