mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-16 04:54:55 +03:00
Zephyr: Fix build to handle latest Zephyr updates
This commit is contained in:
1 parent
167fc9b870
commit
afba4f78e3
2 files changed
+74
-1
No files matched your search
+1
-1
@@ -217,7 +217,7 @@ config MBEDTLS_SSL_PROTO_TLS1_2
|
||||
default y
|
||||
config MBEDTLS_KEY_EXCHANGE_ALL_ENABLED
|
||||
bool
|
||||
default y
|
||||
default n
|
||||
config MBEDTLS_CIPHER_ALL_ENABLED
|
||||
bool
|
||||
default n
|
||||
|
||||
@@ -33,6 +33,79 @@
|
||||
#define MBEDTLS_ENTROPY_C
|
||||
#endif /* ! MBEDTLS_ENTROPY_C */
|
||||
|
||||
#if defined (MBEDTLS_ECDSA_C)
|
||||
#ifndef MBEDTLS_ECP_C
|
||||
#define MBEDTLS_ECP_C
|
||||
#endif /* ! MBEDTLS_ECP_C */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_SECP192R1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_SECP224R1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_SECP224R1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_SECP224R1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_SECP256R1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_SECP384R1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_SECP384R1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_SECP384R1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_SECP521R1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_SECP192K1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_SECP224K1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_SECP256K1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_BP256R1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_BP256R1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_BP256R1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_BP384R1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_BP384R1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_BP384R1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ECP_DP_BP512R1_ENABLED
|
||||
#define MBEDTLS_ECP_DP_BP512R1_ENABLED
|
||||
#endif /* ! MBEDTLS_ECP_DP_BP512R1_ENABLED */
|
||||
|
||||
#ifndef MBEDTLS_ASN1_PARSE_C
|
||||
#define MBEDTLS_ASN1_PARSE_C
|
||||
#endif /* ! MBEDTLS_ASN1_PARSE_C */
|
||||
|
||||
#ifndef MBEDTLS_ASN1_WRITE_C
|
||||
#define MBEDTLS_ASN1_WRITE_C
|
||||
#endif /* ! MBEDTLS_ASN1_WRITE_C */
|
||||
#endif /* MBEDTLS_ECDSA_C */
|
||||
|
||||
#if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
|
||||
#ifndef MBEDTLS_RSA_C
|
||||
#define MBEDTLS_RSA_C
|
||||
#endif /* ! MBEDTLS_RSA_C */
|
||||
|
||||
#ifndef MBEDTLS_X509_CRT_PARSE_C
|
||||
#define MBEDTLS_X509_CRT_PARSE_C
|
||||
#endif /* ! MBEDTLS_X509_CRT_PARSE_C */
|
||||
|
||||
#ifndef MBEDTLS_PKCS1_V15
|
||||
#define MBEDTLS_PKCS1_V15
|
||||
#endif /* ! MBEDTLS_PKCS1_V15 */
|
||||
|
||||
#endif /* MBEDTLS_KEY_EXCHANGE_RSA_ENABLED */
|
||||
|
||||
#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED)
|
||||
#ifndef MBEDTLS_CAN_ECDH
|
||||
#define MBEDTLS_CAN_ECDH
|
||||
|
||||
Reference in new issue
Block a user