2014-07-03 21:42:44 +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.
|
2014-07-03 21:42:44 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
config CRYPTO
|
2014-11-30 23:35:07 +08:00
|
|
|
bool "Crypto API support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable or disable Crypto API features
|
2014-07-03 21:42:44 +08:00
|
|
|
|
|
|
|
if CRYPTO
|
|
|
|
|
|
|
|
config CRYPTO_AES
|
2014-11-30 23:35:07 +08:00
|
|
|
bool "AES cypher support"
|
|
|
|
default n
|
2014-07-03 21:42:44 +08:00
|
|
|
|
|
|
|
config CRYPTO_ALGTEST
|
2014-11-30 23:35:07 +08:00
|
|
|
bool "Perform automatic crypto algorithms test on startup"
|
|
|
|
default n
|
2014-07-03 21:42:44 +08:00
|
|
|
|
2015-02-04 21:28:43 +08:00
|
|
|
if CRYPTO_ALGTEST
|
|
|
|
|
|
|
|
config CRYPTO_AES128_DISABLE
|
|
|
|
bool "Omit 128-bit AES tests"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config CRYPTO_AES192_DISABLE
|
|
|
|
bool "Omit 192-bit AES tests"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config CRYPTO_AES256_DISABLE
|
|
|
|
bool "Omit 256-bit AES tests"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif # CRYPTO_ALGTEST
|
|
|
|
|
2014-07-03 21:42:44 +08:00
|
|
|
config CRYPTO_CRYPTODEV
|
2014-11-30 23:35:07 +08:00
|
|
|
bool "cryptodev support"
|
|
|
|
default n
|
2014-07-03 21:42:44 +08:00
|
|
|
|
2015-11-17 03:31:02 +08:00
|
|
|
config CRYPTO_SW_AES
|
|
|
|
bool "Software AES library"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the software AES library as described in
|
|
|
|
include/nuttx/crypto/aes.h
|
|
|
|
|
2015-11-17 06:10:01 +08:00
|
|
|
TODO: Adapt interfaces so that they are consistent with H/W AES
|
|
|
|
implemenations. This needs to support up_aesinitialize() and
|
|
|
|
aes_cypher() per include/nuttx/crypto/crypto.h.
|
|
|
|
|
2015-11-17 03:31:02 +08:00
|
|
|
endif # CRYPTO
|