#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

config CRYPTO_CONTROLSE
	bool "Control Secure Element device"
	default n
	depends on DEV_SE05X
	depends on CRYPTO_MBEDTLS
	depends on MBEDTLS_VERSION = "3.4.0"
	select MBEDTLS_ECDSA_C
	select MBEDTLS_ECP_C
	select MBEDTLS_ECP_DP_SECP256R1_ENABLED
	select MBEDTLS_PEM_WRITE_C
	select MBEDTLS_PK_WRITE_C
	select MBEDTLS_X509_CSR_PARSE_C
	select MBEDTLS_X509_CSR_WRITE_C
	select MBEDTLS_X509_CRT_WRITE_C
	---help---
		Enable the controlse utility. This program is used control the
		secure element device

if CRYPTO_CONTROLSE

config CRYPTO_CONTROLSE_PROGNAME
	string "Program name"
	default "controlse"
	---help---
		This is the name of the program that will be used when the NSH ELF
		program is installed.

config CRYPTO_CONTROLSE_PRIORITY
	int "Controlse utility task priority"
	default 100

config CRYPTO_CONTROLSE_STACKSIZE
	int "Controlse utility stack size"
	default DEFAULT_TASK_STACKSIZE

endif
