mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Even though one could in theory simply set CONFIG_MBEDTLS_VERSION="3.6.2",
this commit is needed for 2 reasons:
1. The patches need to be updated: 0001 works almost as-is (with fuzz 2)
but 0002 hunk #4 fails and needed adjustment. Otherwise, the patches
are identical.
2. mbedtls_config.h needs to be updated: Following the same approach
for the Kconfig this commit updates both Kconfig and mbedtls_config.h
according to the changes:
mbedtls$ git diff v3.4.0...v3.6.2 -- include/mbedtls/mbedtls_config.h
Minor edits also to crypto/controlse to comply with v3.6.2.
Signed-off-by: George Poulios <gpoulios@census-labs.com>
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
#
|
|
# 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.6.2"
|
|
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 library and utility. It provides an
|
|
access library to the secure element device. The utility can
|
|
control the secure element device from the nuttx shell
|
|
|
|
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
|