mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 03:43:56 +00:00
Tune up the Thread mini config
This commit is contained in:
parent
5674a9797a
commit
b6fe70b928
1 changed files with 8 additions and 1 deletions
|
@ -38,6 +38,7 @@
|
||||||
#define MBEDTLS_HAVE_ASM
|
#define MBEDTLS_HAVE_ASM
|
||||||
|
|
||||||
/* mbed TLS feature support */
|
/* mbed TLS feature support */
|
||||||
|
#define MBEDTLS_AES_ROM_TABLES
|
||||||
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||||
#define MBEDTLS_ECP_NIST_OPTIM
|
#define MBEDTLS_ECP_NIST_OPTIM
|
||||||
#define MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
|
#define MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
|
||||||
|
@ -69,7 +70,13 @@
|
||||||
#define MBEDTLS_SSL_CLI_C
|
#define MBEDTLS_SSL_CLI_C
|
||||||
#define MBEDTLS_SSL_SRV_C
|
#define MBEDTLS_SSL_SRV_C
|
||||||
#define MBEDTLS_SSL_TLS_C
|
#define MBEDTLS_SSL_TLS_C
|
||||||
#define MBEDTLS_VERSION_C
|
|
||||||
|
/* Save RAM by adjusting to our exact needs */
|
||||||
|
#define MBEDTLS_ECP_MAX_BITS 256
|
||||||
|
#define MBEDTLS_ENTROPY_MAX_SOURCES 2
|
||||||
|
|
||||||
|
/* Save ROM and a few bytes of RAM by specifying our own ciphersuite list */
|
||||||
|
#define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8
|
||||||
|
|
||||||
#if defined(TARGET_LIKE_MBED)
|
#if defined(TARGET_LIKE_MBED)
|
||||||
#include "mbedtls/target_config.h"
|
#include "mbedtls/target_config.h"
|
||||||
|
|
Loading…
Reference in a new issue