modules/mbedtls: add the PKCS5 enabler
Kconfig support to `MBEDTLS_PKCS5_C` feature Signed-off-by: Sam Chen <sam.chen@iota.org>
This commit is contained in:
parent
1c53e68459
commit
671ab46e2b
2 changed files with 10 additions and 0 deletions
|
@ -375,4 +375,10 @@ config MBEDTLS_HAVE_TIME_DATE
|
|||
There also need to be a valid time source in the system, as mbedTLS
|
||||
expects a valid date/time for certificate validation."
|
||||
|
||||
config MBEDTLS_PKCS5_C
|
||||
bool "Enable password-based encryption functions"
|
||||
select MBEDTLS_MD
|
||||
help
|
||||
Enable PKCS5 functions
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -411,6 +411,10 @@
|
|||
#define MBEDTLS_PK_C
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MBEDTLS_PKCS5_C)
|
||||
#define MBEDTLS_PKCS5_C
|
||||
#endif
|
||||
|
||||
#define MBEDTLS_SSL_IN_CONTENT_LEN CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN
|
||||
#define MBEDTLS_SSL_OUT_CONTENT_LEN CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue