diff options
author | vnugent <public@vaughnnugent.com> | 2024-11-13 22:25:32 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-11-13 22:25:32 -0500 |
commit | 5cf1addc4a7b70aafda5ad8953f114a206df93cc (patch) | |
tree | d478524ea1ed7676f530f2eb26af644024d6aeca /vendor/mbedtls | |
parent | 0baa4afd4716ad4d6d2f37b9d4af4fc839d16d7c (diff) |
integrate mbedtls testing and remove mbedtls fetch
Diffstat (limited to 'vendor/mbedtls')
-rw-r--r-- | vendor/mbedtls/mbedtls/aes.h (renamed from vendor/mbedtls/include/mbedtls/aes.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/aria.h (renamed from vendor/mbedtls/include/mbedtls/aria.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/asn1.h (renamed from vendor/mbedtls/include/mbedtls/asn1.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/asn1write.h (renamed from vendor/mbedtls/include/mbedtls/asn1write.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/base64.h (renamed from vendor/mbedtls/include/mbedtls/base64.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/bignum.h (renamed from vendor/mbedtls/include/mbedtls/bignum.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/block_cipher.h (renamed from vendor/mbedtls/include/mbedtls/block_cipher.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/build_info.h (renamed from vendor/mbedtls/include/mbedtls/build_info.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/camellia.h (renamed from vendor/mbedtls/include/mbedtls/camellia.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ccm.h (renamed from vendor/mbedtls/include/mbedtls/ccm.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/chacha20.h (renamed from vendor/mbedtls/include/mbedtls/chacha20.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/chachapoly.h (renamed from vendor/mbedtls/include/mbedtls/chachapoly.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/check_config.h (renamed from vendor/mbedtls/include/mbedtls/check_config.h) | 32 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/cipher.h (renamed from vendor/mbedtls/include/mbedtls/cipher.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/cmac.h (renamed from vendor/mbedtls/include/mbedtls/cmac.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/compat-2.x.h (renamed from vendor/mbedtls/include/mbedtls/compat-2.x.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_legacy_crypto.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_legacy_from_psa.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_legacy_from_psa.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_psa_from_legacy.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_psa_from_legacy.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_psa_superset_legacy.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_psa_superset_legacy.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_ssl.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_ssl.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_x509.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_x509.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_psa.h (renamed from vendor/mbedtls/include/mbedtls/config_psa.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/constant_time.h (renamed from vendor/mbedtls/include/mbedtls/constant_time.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ctr_drbg.h (renamed from vendor/mbedtls/include/mbedtls/ctr_drbg.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/debug.h (renamed from vendor/mbedtls/include/mbedtls/debug.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/des.h (renamed from vendor/mbedtls/include/mbedtls/des.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/dhm.h (renamed from vendor/mbedtls/include/mbedtls/dhm.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ecdh.h (renamed from vendor/mbedtls/include/mbedtls/ecdh.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ecdsa.h (renamed from vendor/mbedtls/include/mbedtls/ecdsa.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ecjpake.h (renamed from vendor/mbedtls/include/mbedtls/ecjpake.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ecp.h (renamed from vendor/mbedtls/include/mbedtls/ecp.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/entropy.h (renamed from vendor/mbedtls/include/mbedtls/entropy.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/error.h (renamed from vendor/mbedtls/include/mbedtls/error.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/gcm.h (renamed from vendor/mbedtls/include/mbedtls/gcm.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/hkdf.h (renamed from vendor/mbedtls/include/mbedtls/hkdf.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/hmac_drbg.h (renamed from vendor/mbedtls/include/mbedtls/hmac_drbg.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/lms.h (renamed from vendor/mbedtls/include/mbedtls/lms.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/mbedtls_config.h (renamed from vendor/mbedtls/include/mbedtls/mbedtls_config.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/md.h (renamed from vendor/mbedtls/include/mbedtls/md.h) | 2 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/md5.h (renamed from vendor/mbedtls/include/mbedtls/md5.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/memory_buffer_alloc.h (renamed from vendor/mbedtls/include/mbedtls/memory_buffer_alloc.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/net_sockets.h (renamed from vendor/mbedtls/include/mbedtls/net_sockets.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/nist_kw.h (renamed from vendor/mbedtls/include/mbedtls/nist_kw.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/oid.h (renamed from vendor/mbedtls/include/mbedtls/oid.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pem.h (renamed from vendor/mbedtls/include/mbedtls/pem.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pk.h (renamed from vendor/mbedtls/include/mbedtls/pk.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pkcs12.h (renamed from vendor/mbedtls/include/mbedtls/pkcs12.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pkcs5.h (renamed from vendor/mbedtls/include/mbedtls/pkcs5.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pkcs7.h (renamed from vendor/mbedtls/include/mbedtls/pkcs7.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/platform.h (renamed from vendor/mbedtls/include/mbedtls/platform.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/platform_time.h (renamed from vendor/mbedtls/include/mbedtls/platform_time.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/platform_util.h (renamed from vendor/mbedtls/include/mbedtls/platform_util.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/poly1305.h (renamed from vendor/mbedtls/include/mbedtls/poly1305.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/private_access.h (renamed from vendor/mbedtls/include/mbedtls/private_access.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/psa_util.h (renamed from vendor/mbedtls/include/mbedtls/psa_util.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ripemd160.h (renamed from vendor/mbedtls/include/mbedtls/ripemd160.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/rsa.h (renamed from vendor/mbedtls/include/mbedtls/rsa.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/sha1.h (renamed from vendor/mbedtls/include/mbedtls/sha1.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/sha256.h (renamed from vendor/mbedtls/include/mbedtls/sha256.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/sha3.h (renamed from vendor/mbedtls/include/mbedtls/sha3.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/sha512.h (renamed from vendor/mbedtls/include/mbedtls/sha512.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl.h (renamed from vendor/mbedtls/include/mbedtls/ssl.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl_cache.h (renamed from vendor/mbedtls/include/mbedtls/ssl_cache.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl_ciphersuites.h (renamed from vendor/mbedtls/include/mbedtls/ssl_ciphersuites.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl_cookie.h (renamed from vendor/mbedtls/include/mbedtls/ssl_cookie.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl_ticket.h (renamed from vendor/mbedtls/include/mbedtls/ssl_ticket.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/threading.h (renamed from vendor/mbedtls/include/mbedtls/threading.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/timing.h (renamed from vendor/mbedtls/include/mbedtls/timing.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/version.h (renamed from vendor/mbedtls/include/mbedtls/version.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/x509.h (renamed from vendor/mbedtls/include/mbedtls/x509.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/x509_crl.h (renamed from vendor/mbedtls/include/mbedtls/x509_crl.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/x509_crt.h (renamed from vendor/mbedtls/include/mbedtls/x509_crt.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/x509_csr.h (renamed from vendor/mbedtls/include/mbedtls/x509_csr.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls_noscrypt_config.h | 69 | ||||
-rw-r--r-- | vendor/mbedtls/psa/build_info.h (renamed from vendor/mbedtls/include/psa/build_info.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto.h (renamed from vendor/mbedtls/include/psa/crypto.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_adjust_auto_enabled.h (renamed from vendor/mbedtls/include/psa/crypto_adjust_auto_enabled.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_adjust_config_dependencies.h (renamed from vendor/mbedtls/include/psa/crypto_adjust_config_dependencies.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_adjust_config_key_pair_types.h (renamed from vendor/mbedtls/include/psa/crypto_adjust_config_key_pair_types.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_adjust_config_synonyms.h (renamed from vendor/mbedtls/include/psa/crypto_adjust_config_synonyms.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_builtin_composites.h (renamed from vendor/mbedtls/include/psa/crypto_builtin_composites.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_builtin_key_derivation.h (renamed from vendor/mbedtls/include/psa/crypto_builtin_key_derivation.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_builtin_primitives.h (renamed from vendor/mbedtls/include/psa/crypto_builtin_primitives.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_compat.h (renamed from vendor/mbedtls/include/psa/crypto_compat.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_config.h (renamed from vendor/mbedtls/include/psa/crypto_config.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_driver_common.h (renamed from vendor/mbedtls/include/psa/crypto_driver_common.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_driver_contexts_composites.h (renamed from vendor/mbedtls/include/psa/crypto_driver_contexts_composites.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_driver_contexts_key_derivation.h (renamed from vendor/mbedtls/include/psa/crypto_driver_contexts_key_derivation.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_driver_contexts_primitives.h (renamed from vendor/mbedtls/include/psa/crypto_driver_contexts_primitives.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_extra.h (renamed from vendor/mbedtls/include/psa/crypto_extra.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_legacy.h (renamed from vendor/mbedtls/include/psa/crypto_legacy.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_platform.h (renamed from vendor/mbedtls/include/psa/crypto_platform.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_se_driver.h (renamed from vendor/mbedtls/include/psa/crypto_se_driver.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_sizes.h (renamed from vendor/mbedtls/include/psa/crypto_sizes.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_struct.h (renamed from vendor/mbedtls/include/psa/crypto_struct.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_types.h (renamed from vendor/mbedtls/include/psa/crypto_types.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_values.h (renamed from vendor/mbedtls/include/psa/crypto_values.h) | 0 |
98 files changed, 41 insertions, 62 deletions
diff --git a/vendor/mbedtls/include/mbedtls/aes.h b/vendor/mbedtls/mbedtls/aes.h index d5eb1fd..d5eb1fd 100644 --- a/vendor/mbedtls/include/mbedtls/aes.h +++ b/vendor/mbedtls/mbedtls/aes.h diff --git a/vendor/mbedtls/include/mbedtls/aria.h b/vendor/mbedtls/mbedtls/aria.h index c685fc3..c685fc3 100644 --- a/vendor/mbedtls/include/mbedtls/aria.h +++ b/vendor/mbedtls/mbedtls/aria.h diff --git a/vendor/mbedtls/include/mbedtls/asn1.h b/vendor/mbedtls/mbedtls/asn1.h index ff019f4..ff019f4 100644 --- a/vendor/mbedtls/include/mbedtls/asn1.h +++ b/vendor/mbedtls/mbedtls/asn1.h diff --git a/vendor/mbedtls/include/mbedtls/asn1write.h b/vendor/mbedtls/mbedtls/asn1write.h index 0c5a85a..0c5a85a 100644 --- a/vendor/mbedtls/include/mbedtls/asn1write.h +++ b/vendor/mbedtls/mbedtls/asn1write.h diff --git a/vendor/mbedtls/include/mbedtls/base64.h b/vendor/mbedtls/mbedtls/base64.h index 8f459b7..8f459b7 100644 --- a/vendor/mbedtls/include/mbedtls/base64.h +++ b/vendor/mbedtls/mbedtls/base64.h diff --git a/vendor/mbedtls/include/mbedtls/bignum.h b/vendor/mbedtls/mbedtls/bignum.h index 8367cd3..8367cd3 100644 --- a/vendor/mbedtls/include/mbedtls/bignum.h +++ b/vendor/mbedtls/mbedtls/bignum.h diff --git a/vendor/mbedtls/include/mbedtls/block_cipher.h b/vendor/mbedtls/mbedtls/block_cipher.h index 3f60f6f..3f60f6f 100644 --- a/vendor/mbedtls/include/mbedtls/block_cipher.h +++ b/vendor/mbedtls/mbedtls/block_cipher.h diff --git a/vendor/mbedtls/include/mbedtls/build_info.h b/vendor/mbedtls/mbedtls/build_info.h index d91d296..d91d296 100644 --- a/vendor/mbedtls/include/mbedtls/build_info.h +++ b/vendor/mbedtls/mbedtls/build_info.h diff --git a/vendor/mbedtls/include/mbedtls/camellia.h b/vendor/mbedtls/mbedtls/camellia.h index 557f472..557f472 100644 --- a/vendor/mbedtls/include/mbedtls/camellia.h +++ b/vendor/mbedtls/mbedtls/camellia.h diff --git a/vendor/mbedtls/include/mbedtls/ccm.h b/vendor/mbedtls/mbedtls/ccm.h index 1da57c9..1da57c9 100644 --- a/vendor/mbedtls/include/mbedtls/ccm.h +++ b/vendor/mbedtls/mbedtls/ccm.h diff --git a/vendor/mbedtls/include/mbedtls/chacha20.h b/vendor/mbedtls/mbedtls/chacha20.h index 680fe36..680fe36 100644 --- a/vendor/mbedtls/include/mbedtls/chacha20.h +++ b/vendor/mbedtls/mbedtls/chacha20.h diff --git a/vendor/mbedtls/include/mbedtls/chachapoly.h b/vendor/mbedtls/mbedtls/chachapoly.h index 3dc21e3..3dc21e3 100644 --- a/vendor/mbedtls/include/mbedtls/chachapoly.h +++ b/vendor/mbedtls/mbedtls/chachapoly.h diff --git a/vendor/mbedtls/include/mbedtls/check_config.h b/vendor/mbedtls/mbedtls/check_config.h index 67a05f8..53ef135 100644 --- a/vendor/mbedtls/include/mbedtls/check_config.h +++ b/vendor/mbedtls/mbedtls/check_config.h @@ -241,13 +241,13 @@ #if defined(__has_feature) #if __has_feature(memory_sanitizer) -#define MBEDTLS_HAS_MEMSAN // #undef at the end of this paragraph +#define MBEDTLS_HAS_MEMSAN /* #undef at the end of this paragraph */ #endif #endif #if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN) && !defined(MBEDTLS_HAS_MEMSAN) #error "MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN requires building with MemorySanitizer" #endif -#undef MBEDTLS_HAS_MEMSAN // temporary macro defined above +#undef MBEDTLS_HAS_MEMSAN /* temporary macro defined above */ #if defined(MBEDTLS_CCM_C) && \ !(defined(MBEDTLS_CCM_GCM_CAN_AES) || defined(MBEDTLS_CCM_GCM_CAN_ARIA) || \ @@ -988,18 +988,18 @@ #if !defined(MBEDTLS_THREADING_C) || defined(MBEDTLS_THREADING_IMPL) #error "MBEDTLS_THREADING_PTHREAD defined, but not all prerequisites" #endif -#define MBEDTLS_THREADING_IMPL // undef at the end of this paragraph +#define MBEDTLS_THREADING_IMPL /* undef at the end of this paragraph */ #endif #if defined(MBEDTLS_THREADING_ALT) #if !defined(MBEDTLS_THREADING_C) || defined(MBEDTLS_THREADING_IMPL) #error "MBEDTLS_THREADING_ALT defined, but not all prerequisites" #endif -#define MBEDTLS_THREADING_IMPL // undef at the end of this paragraph +#define MBEDTLS_THREADING_IMPL /* undef at the end of this paragraph */ #endif #if defined(MBEDTLS_THREADING_C) && !defined(MBEDTLS_THREADING_IMPL) #error "MBEDTLS_THREADING_C defined, single threading implementation required" #endif -#undef MBEDTLS_THREADING_IMPL // temporary macro defined above +#undef MBEDTLS_THREADING_IMPL /* temporary macro defined above */ #if defined(MBEDTLS_USE_PSA_CRYPTO) && !defined(MBEDTLS_PSA_CRYPTO_CLIENT) #error "MBEDTLS_USE_PSA_CRYPTO defined, but not all prerequisites" @@ -1078,47 +1078,47 @@ /* Reject attempts to enable options that have been removed and that could * cause a build to succeed but with features removed. */ -#if defined(MBEDTLS_HAVEGE_C) //no-check-names +#if defined(MBEDTLS_HAVEGE_C) /* no-check-names */ #error "MBEDTLS_HAVEGE_C was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/2599" #endif -#if defined(MBEDTLS_SSL_HW_RECORD_ACCEL) //no-check-names +#if defined(MBEDTLS_SSL_HW_RECORD_ACCEL) /* no-check-names */ #error "MBEDTLS_SSL_HW_RECORD_ACCEL was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_SSL_PROTO_SSL3) //no-check-names +#if defined(MBEDTLS_SSL_PROTO_SSL3) /* no-check-names */ #error "MBEDTLS_SSL_PROTO_SSL3 (SSL v3.0 support) was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO) //no-check-names +#if defined(MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO) /* no-check-names */ #error "MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO (SSL v2 ClientHello support) was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT) //no-check-names +#if defined(MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT) /* no-check-names */ #error "MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT (compatibility with the buggy implementation of truncated HMAC in Mbed TLS up to 2.7) was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES) //no-check-names +#if defined(MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES) /*no-check-names */ #error "MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES was removed in Mbed TLS 3.0. See the ChangeLog entry if you really need SHA-1-signed certificates." #endif -#if defined(MBEDTLS_ZLIB_SUPPORT) //no-check-names +#if defined(MBEDTLS_ZLIB_SUPPORT) /* no-check-names */ #error "MBEDTLS_ZLIB_SUPPORT was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_CHECK_PARAMS) //no-check-names +#if defined(MBEDTLS_CHECK_PARAMS) /* no-check-names */ #error "MBEDTLS_CHECK_PARAMS was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4313" #endif -#if defined(MBEDTLS_SSL_CID_PADDING_GRANULARITY) //no-check-names +#if defined(MBEDTLS_SSL_CID_PADDING_GRANULARITY) /*no-check-names*/ #error "MBEDTLS_SSL_CID_PADDING_GRANULARITY was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4335" #endif -#if defined(MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY) //no-check-names +#if defined(MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY) /*no-check-names*/ #error "MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4335" #endif -#if defined(MBEDTLS_SSL_TRUNCATED_HMAC) //no-check-names +#if defined(MBEDTLS_SSL_TRUNCATED_HMAC) /*no-check-names*/ #error "MBEDTLS_SSL_TRUNCATED_HMAC was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4341" #endif diff --git a/vendor/mbedtls/include/mbedtls/cipher.h b/vendor/mbedtls/mbedtls/cipher.h index 1dc31c9..1dc31c9 100644 --- a/vendor/mbedtls/include/mbedtls/cipher.h +++ b/vendor/mbedtls/mbedtls/cipher.h diff --git a/vendor/mbedtls/include/mbedtls/cmac.h b/vendor/mbedtls/mbedtls/cmac.h index 97b86fc..97b86fc 100644 --- a/vendor/mbedtls/include/mbedtls/cmac.h +++ b/vendor/mbedtls/mbedtls/cmac.h diff --git a/vendor/mbedtls/include/mbedtls/compat-2.x.h b/vendor/mbedtls/mbedtls/compat-2.x.h index 096341b..096341b 100644 --- a/vendor/mbedtls/include/mbedtls/compat-2.x.h +++ b/vendor/mbedtls/mbedtls/compat-2.x.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h b/vendor/mbedtls/mbedtls/config_adjust_legacy_crypto.h index 3ba987e..3ba987e 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h +++ b/vendor/mbedtls/mbedtls/config_adjust_legacy_crypto.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_legacy_from_psa.h b/vendor/mbedtls/mbedtls/config_adjust_legacy_from_psa.h index 04bdae6..04bdae6 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_legacy_from_psa.h +++ b/vendor/mbedtls/mbedtls/config_adjust_legacy_from_psa.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_psa_from_legacy.h b/vendor/mbedtls/mbedtls/config_adjust_psa_from_legacy.h index 14ca146..14ca146 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_psa_from_legacy.h +++ b/vendor/mbedtls/mbedtls/config_adjust_psa_from_legacy.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_psa_superset_legacy.h b/vendor/mbedtls/mbedtls/config_adjust_psa_superset_legacy.h index ef65cce..ef65cce 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_psa_superset_legacy.h +++ b/vendor/mbedtls/mbedtls/config_adjust_psa_superset_legacy.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_ssl.h b/vendor/mbedtls/mbedtls/config_adjust_ssl.h index 1f82d9c..1f82d9c 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_ssl.h +++ b/vendor/mbedtls/mbedtls/config_adjust_ssl.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_x509.h b/vendor/mbedtls/mbedtls/config_adjust_x509.h index cfb2d88..cfb2d88 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_x509.h +++ b/vendor/mbedtls/mbedtls/config_adjust_x509.h diff --git a/vendor/mbedtls/include/mbedtls/config_psa.h b/vendor/mbedtls/mbedtls/config_psa.h index 5f3d0f3..5f3d0f3 100644 --- a/vendor/mbedtls/include/mbedtls/config_psa.h +++ b/vendor/mbedtls/mbedtls/config_psa.h diff --git a/vendor/mbedtls/include/mbedtls/constant_time.h b/vendor/mbedtls/mbedtls/constant_time.h index d31bff6..d31bff6 100644 --- a/vendor/mbedtls/include/mbedtls/constant_time.h +++ b/vendor/mbedtls/mbedtls/constant_time.h diff --git a/vendor/mbedtls/include/mbedtls/ctr_drbg.h b/vendor/mbedtls/mbedtls/ctr_drbg.h index 0b7cce1..0b7cce1 100644 --- a/vendor/mbedtls/include/mbedtls/ctr_drbg.h +++ b/vendor/mbedtls/mbedtls/ctr_drbg.h diff --git a/vendor/mbedtls/include/mbedtls/debug.h b/vendor/mbedtls/mbedtls/debug.h index 424ed4b..424ed4b 100644 --- a/vendor/mbedtls/include/mbedtls/debug.h +++ b/vendor/mbedtls/mbedtls/debug.h diff --git a/vendor/mbedtls/include/mbedtls/des.h b/vendor/mbedtls/mbedtls/des.h index 2b097a1..2b097a1 100644 --- a/vendor/mbedtls/include/mbedtls/des.h +++ b/vendor/mbedtls/mbedtls/des.h diff --git a/vendor/mbedtls/include/mbedtls/dhm.h b/vendor/mbedtls/mbedtls/dhm.h index fcba3d2..fcba3d2 100644 --- a/vendor/mbedtls/include/mbedtls/dhm.h +++ b/vendor/mbedtls/mbedtls/dhm.h diff --git a/vendor/mbedtls/include/mbedtls/ecdh.h b/vendor/mbedtls/mbedtls/ecdh.h index a6a5069..a6a5069 100644 --- a/vendor/mbedtls/include/mbedtls/ecdh.h +++ b/vendor/mbedtls/mbedtls/ecdh.h diff --git a/vendor/mbedtls/include/mbedtls/ecdsa.h b/vendor/mbedtls/mbedtls/ecdsa.h index 2ecf349..2ecf349 100644 --- a/vendor/mbedtls/include/mbedtls/ecdsa.h +++ b/vendor/mbedtls/mbedtls/ecdsa.h diff --git a/vendor/mbedtls/include/mbedtls/ecjpake.h b/vendor/mbedtls/mbedtls/ecjpake.h index c2148a2..c2148a2 100644 --- a/vendor/mbedtls/include/mbedtls/ecjpake.h +++ b/vendor/mbedtls/mbedtls/ecjpake.h diff --git a/vendor/mbedtls/include/mbedtls/ecp.h b/vendor/mbedtls/mbedtls/ecp.h index 623910b..623910b 100644 --- a/vendor/mbedtls/include/mbedtls/ecp.h +++ b/vendor/mbedtls/mbedtls/ecp.h diff --git a/vendor/mbedtls/include/mbedtls/entropy.h b/vendor/mbedtls/mbedtls/entropy.h index 20fd687..20fd687 100644 --- a/vendor/mbedtls/include/mbedtls/entropy.h +++ b/vendor/mbedtls/mbedtls/entropy.h diff --git a/vendor/mbedtls/include/mbedtls/error.h b/vendor/mbedtls/mbedtls/error.h index 186589a..186589a 100644 --- a/vendor/mbedtls/include/mbedtls/error.h +++ b/vendor/mbedtls/mbedtls/error.h diff --git a/vendor/mbedtls/include/mbedtls/gcm.h b/vendor/mbedtls/mbedtls/gcm.h index 98faa43..98faa43 100644 --- a/vendor/mbedtls/include/mbedtls/gcm.h +++ b/vendor/mbedtls/mbedtls/gcm.h diff --git a/vendor/mbedtls/include/mbedtls/hkdf.h b/vendor/mbedtls/mbedtls/hkdf.h index 930e93f..930e93f 100644 --- a/vendor/mbedtls/include/mbedtls/hkdf.h +++ b/vendor/mbedtls/mbedtls/hkdf.h diff --git a/vendor/mbedtls/include/mbedtls/hmac_drbg.h b/vendor/mbedtls/mbedtls/hmac_drbg.h index 18b1b75..18b1b75 100644 --- a/vendor/mbedtls/include/mbedtls/hmac_drbg.h +++ b/vendor/mbedtls/mbedtls/hmac_drbg.h diff --git a/vendor/mbedtls/include/mbedtls/lms.h b/vendor/mbedtls/mbedtls/lms.h index 95fce21..95fce21 100644 --- a/vendor/mbedtls/include/mbedtls/lms.h +++ b/vendor/mbedtls/mbedtls/lms.h diff --git a/vendor/mbedtls/include/mbedtls/mbedtls_config.h b/vendor/mbedtls/mbedtls/mbedtls_config.h index bd3f71d..bd3f71d 100644 --- a/vendor/mbedtls/include/mbedtls/mbedtls_config.h +++ b/vendor/mbedtls/mbedtls/mbedtls_config.h diff --git a/vendor/mbedtls/include/mbedtls/md.h b/vendor/mbedtls/mbedtls/md.h index 478e9f7..1428d83 100644 --- a/vendor/mbedtls/include/mbedtls/md.h +++ b/vendor/mbedtls/mbedtls/md.h @@ -56,7 +56,7 @@ typedef enum { MBEDTLS_MD_SHA3_224=0x10, /**< The SHA3-224 message digest. */ MBEDTLS_MD_SHA3_256=0x11, /**< The SHA3-256 message digest. */ MBEDTLS_MD_SHA3_384=0x12, /**< The SHA3-384 message digest. */ - MBEDTLS_MD_SHA3_512=0x13, /**< The SHA3-512 message digest. */ + MBEDTLS_MD_SHA3_512=0x13 /**< The SHA3-512 message digest. */ } mbedtls_md_type_t; /* Note: this should always be >= PSA_HASH_MAX_SIZE diff --git a/vendor/mbedtls/include/mbedtls/md5.h b/vendor/mbedtls/mbedtls/md5.h index 6bf0754..6bf0754 100644 --- a/vendor/mbedtls/include/mbedtls/md5.h +++ b/vendor/mbedtls/mbedtls/md5.h diff --git a/vendor/mbedtls/include/mbedtls/memory_buffer_alloc.h b/vendor/mbedtls/mbedtls/memory_buffer_alloc.h index b527d9b..b527d9b 100644 --- a/vendor/mbedtls/include/mbedtls/memory_buffer_alloc.h +++ b/vendor/mbedtls/mbedtls/memory_buffer_alloc.h diff --git a/vendor/mbedtls/include/mbedtls/net_sockets.h b/vendor/mbedtls/mbedtls/net_sockets.h index 85c1197..85c1197 100644 --- a/vendor/mbedtls/include/mbedtls/net_sockets.h +++ b/vendor/mbedtls/mbedtls/net_sockets.h diff --git a/vendor/mbedtls/include/mbedtls/nist_kw.h b/vendor/mbedtls/mbedtls/nist_kw.h index d353f3d..d353f3d 100644 --- a/vendor/mbedtls/include/mbedtls/nist_kw.h +++ b/vendor/mbedtls/mbedtls/nist_kw.h diff --git a/vendor/mbedtls/include/mbedtls/oid.h b/vendor/mbedtls/mbedtls/oid.h index fdc25eb..fdc25eb 100644 --- a/vendor/mbedtls/include/mbedtls/oid.h +++ b/vendor/mbedtls/mbedtls/oid.h diff --git a/vendor/mbedtls/include/mbedtls/pem.h b/vendor/mbedtls/mbedtls/pem.h index 3c6a28d..3c6a28d 100644 --- a/vendor/mbedtls/include/mbedtls/pem.h +++ b/vendor/mbedtls/mbedtls/pem.h diff --git a/vendor/mbedtls/include/mbedtls/pk.h b/vendor/mbedtls/mbedtls/pk.h index 52f4cc6..52f4cc6 100644 --- a/vendor/mbedtls/include/mbedtls/pk.h +++ b/vendor/mbedtls/mbedtls/pk.h diff --git a/vendor/mbedtls/include/mbedtls/pkcs12.h b/vendor/mbedtls/mbedtls/pkcs12.h index 87f7681..87f7681 100644 --- a/vendor/mbedtls/include/mbedtls/pkcs12.h +++ b/vendor/mbedtls/mbedtls/pkcs12.h diff --git a/vendor/mbedtls/include/mbedtls/pkcs5.h b/vendor/mbedtls/mbedtls/pkcs5.h index 9ba5689..9ba5689 100644 --- a/vendor/mbedtls/include/mbedtls/pkcs5.h +++ b/vendor/mbedtls/mbedtls/pkcs5.h diff --git a/vendor/mbedtls/include/mbedtls/pkcs7.h b/vendor/mbedtls/mbedtls/pkcs7.h index e9b4822..e9b4822 100644 --- a/vendor/mbedtls/include/mbedtls/pkcs7.h +++ b/vendor/mbedtls/mbedtls/pkcs7.h diff --git a/vendor/mbedtls/include/mbedtls/platform.h b/vendor/mbedtls/mbedtls/platform.h index de3d71d..de3d71d 100644 --- a/vendor/mbedtls/include/mbedtls/platform.h +++ b/vendor/mbedtls/mbedtls/platform.h diff --git a/vendor/mbedtls/include/mbedtls/platform_time.h b/vendor/mbedtls/mbedtls/platform_time.h index 97f1963..97f1963 100644 --- a/vendor/mbedtls/include/mbedtls/platform_time.h +++ b/vendor/mbedtls/mbedtls/platform_time.h diff --git a/vendor/mbedtls/include/mbedtls/platform_util.h b/vendor/mbedtls/mbedtls/platform_util.h index 1b371ef..1b371ef 100644 --- a/vendor/mbedtls/include/mbedtls/platform_util.h +++ b/vendor/mbedtls/mbedtls/platform_util.h diff --git a/vendor/mbedtls/include/mbedtls/poly1305.h b/vendor/mbedtls/mbedtls/poly1305.h index 61bcaa6..61bcaa6 100644 --- a/vendor/mbedtls/include/mbedtls/poly1305.h +++ b/vendor/mbedtls/mbedtls/poly1305.h diff --git a/vendor/mbedtls/include/mbedtls/private_access.h b/vendor/mbedtls/mbedtls/private_access.h index 580f3eb..580f3eb 100644 --- a/vendor/mbedtls/include/mbedtls/private_access.h +++ b/vendor/mbedtls/mbedtls/private_access.h diff --git a/vendor/mbedtls/include/mbedtls/psa_util.h b/vendor/mbedtls/mbedtls/psa_util.h index c78cc23..c78cc23 100644 --- a/vendor/mbedtls/include/mbedtls/psa_util.h +++ b/vendor/mbedtls/mbedtls/psa_util.h diff --git a/vendor/mbedtls/include/mbedtls/ripemd160.h b/vendor/mbedtls/mbedtls/ripemd160.h index 279f92b..279f92b 100644 --- a/vendor/mbedtls/include/mbedtls/ripemd160.h +++ b/vendor/mbedtls/mbedtls/ripemd160.h diff --git a/vendor/mbedtls/include/mbedtls/rsa.h b/vendor/mbedtls/mbedtls/rsa.h index c1e76b3..c1e76b3 100644 --- a/vendor/mbedtls/include/mbedtls/rsa.h +++ b/vendor/mbedtls/mbedtls/rsa.h diff --git a/vendor/mbedtls/include/mbedtls/sha1.h b/vendor/mbedtls/mbedtls/sha1.h index 592ffd1..592ffd1 100644 --- a/vendor/mbedtls/include/mbedtls/sha1.h +++ b/vendor/mbedtls/mbedtls/sha1.h diff --git a/vendor/mbedtls/include/mbedtls/sha256.h b/vendor/mbedtls/mbedtls/sha256.h index ca568e2..ca568e2 100644 --- a/vendor/mbedtls/include/mbedtls/sha256.h +++ b/vendor/mbedtls/mbedtls/sha256.h diff --git a/vendor/mbedtls/include/mbedtls/sha3.h b/vendor/mbedtls/mbedtls/sha3.h index 3eeee65..3eeee65 100644 --- a/vendor/mbedtls/include/mbedtls/sha3.h +++ b/vendor/mbedtls/mbedtls/sha3.h diff --git a/vendor/mbedtls/include/mbedtls/sha512.h b/vendor/mbedtls/mbedtls/sha512.h index 1c20e4c..1c20e4c 100644 --- a/vendor/mbedtls/include/mbedtls/sha512.h +++ b/vendor/mbedtls/mbedtls/sha512.h diff --git a/vendor/mbedtls/include/mbedtls/ssl.h b/vendor/mbedtls/mbedtls/ssl.h index 42fffbf..42fffbf 100644 --- a/vendor/mbedtls/include/mbedtls/ssl.h +++ b/vendor/mbedtls/mbedtls/ssl.h diff --git a/vendor/mbedtls/include/mbedtls/ssl_cache.h b/vendor/mbedtls/mbedtls/ssl_cache.h index a1307b4..a1307b4 100644 --- a/vendor/mbedtls/include/mbedtls/ssl_cache.h +++ b/vendor/mbedtls/mbedtls/ssl_cache.h diff --git a/vendor/mbedtls/include/mbedtls/ssl_ciphersuites.h b/vendor/mbedtls/mbedtls/ssl_ciphersuites.h index 12d4462..12d4462 100644 --- a/vendor/mbedtls/include/mbedtls/ssl_ciphersuites.h +++ b/vendor/mbedtls/mbedtls/ssl_ciphersuites.h diff --git a/vendor/mbedtls/include/mbedtls/ssl_cookie.h b/vendor/mbedtls/mbedtls/ssl_cookie.h index 71c258e..71c258e 100644 --- a/vendor/mbedtls/include/mbedtls/ssl_cookie.h +++ b/vendor/mbedtls/mbedtls/ssl_cookie.h diff --git a/vendor/mbedtls/include/mbedtls/ssl_ticket.h b/vendor/mbedtls/mbedtls/ssl_ticket.h index 2ee1400..2ee1400 100644 --- a/vendor/mbedtls/include/mbedtls/ssl_ticket.h +++ b/vendor/mbedtls/mbedtls/ssl_ticket.h diff --git a/vendor/mbedtls/include/mbedtls/threading.h b/vendor/mbedtls/mbedtls/threading.h index d50d04e..d50d04e 100644 --- a/vendor/mbedtls/include/mbedtls/threading.h +++ b/vendor/mbedtls/mbedtls/threading.h diff --git a/vendor/mbedtls/include/mbedtls/timing.h b/vendor/mbedtls/mbedtls/timing.h index 62ae102..62ae102 100644 --- a/vendor/mbedtls/include/mbedtls/timing.h +++ b/vendor/mbedtls/mbedtls/timing.h diff --git a/vendor/mbedtls/include/mbedtls/version.h b/vendor/mbedtls/mbedtls/version.h index 637f9d3..637f9d3 100644 --- a/vendor/mbedtls/include/mbedtls/version.h +++ b/vendor/mbedtls/mbedtls/version.h diff --git a/vendor/mbedtls/include/mbedtls/x509.h b/vendor/mbedtls/mbedtls/x509.h index 453f598..453f598 100644 --- a/vendor/mbedtls/include/mbedtls/x509.h +++ b/vendor/mbedtls/mbedtls/x509.h diff --git a/vendor/mbedtls/include/mbedtls/x509_crl.h b/vendor/mbedtls/mbedtls/x509_crl.h index 6625a44..6625a44 100644 --- a/vendor/mbedtls/include/mbedtls/x509_crl.h +++ b/vendor/mbedtls/mbedtls/x509_crl.h diff --git a/vendor/mbedtls/include/mbedtls/x509_crt.h b/vendor/mbedtls/mbedtls/x509_crt.h index 1ce0d23..1ce0d23 100644 --- a/vendor/mbedtls/include/mbedtls/x509_crt.h +++ b/vendor/mbedtls/mbedtls/x509_crt.h diff --git a/vendor/mbedtls/include/mbedtls/x509_csr.h b/vendor/mbedtls/mbedtls/x509_csr.h index 8c31c09..8c31c09 100644 --- a/vendor/mbedtls/include/mbedtls/x509_csr.h +++ b/vendor/mbedtls/mbedtls/x509_csr.h diff --git a/vendor/mbedtls/mbedtls_noscrypt_config.h b/vendor/mbedtls/mbedtls_noscrypt_config.h index 2ae70c5..556fd5a 100644 --- a/vendor/mbedtls/mbedtls_noscrypt_config.h +++ b/vendor/mbedtls/mbedtls_noscrypt_config.h @@ -1,27 +1,27 @@ /** - * \file config-suite-b.h - * - * \brief Minimal configuration for TLS NSA Suite B Profile (RFC 6460) - */ - /* - * Copyright The Mbed TLS Contributors - * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later - */ - /* - * Minimal configuration for TLS NSA Suite B Profile (RFC 6460) - * - * Distinguishing features: - * - no RSA or classic DH, fully based on ECC - * - optimized for low RAM usage - * - * Possible improvements: - * - if 128-bit security is enough, disable secp384r1 and SHA-512 - * - use embedded certs in DER format and disable PEM_PARSE_C and BASE64_C - * - * See README.txt for usage instructions. - */ - - /* System support */ +* \file config-suite-b.h +* +* \brief Minimal configuration for TLS NSA Suite B Profile (RFC 6460) +*/ +/* +* Copyright The Mbed TLS Contributors +* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later +*/ +/* +* Minimal configuration for TLS NSA Suite B Profile (RFC 6460) +* +* Distinguishing features: +* - no RSA or classic DH, fully based on ECC +* - optimized for low RAM usage +* +* Possible improvements: +* - if 128-bit security is enough, disable secp384r1 and SHA-512 +* - use embedded certs in DER format and disable PEM_PARSE_C and BASE64_C +* +* See README.txt for usage instructions. +*/ + + /* System support */ #define MBEDTLS_HAVE_ASM #define MBEDTLS_HAVE_TIME @@ -32,25 +32,4 @@ #define MBEDTLS_HKDF_C #define MBEDTLS_CHACHA20_C #define MBEDTLS_SHA256_C -#define MBEDTLS_ENTROPY_C - - -/* Save RAM at the expense of ROM */ -//#define MBEDTLS_AES_ROM_TABLES - -/* Save RAM by adjusting to our exact needs */ -//#define MBEDTLS_MPI_MAX_SIZE 48 // 384-bit EC curve = 48 bytes - -/* Save RAM at the expense of speed, see ecp.h */ -//#define MBEDTLS_ECP_WINDOW_SIZE 2 -//#define MBEDTLS_ECP_FIXED_POINT_OPTIM 0 - -/* Significant speed benefit at the expense of some ROM */ -//#define MBEDTLS_ECP_NIST_OPTIM - -/* - * You should adjust this to the exact number of sources you're using: default - * is the "mbedtls_platform_entropy_poll" source, but you may want to add other ones. - * Minimum is 2 for the entropy test suite. - */ -#define MBEDTLS_ENTROPY_MAX_SOURCES 2
\ No newline at end of file +#define MBEDTLS_ENTROPY_C
\ No newline at end of file diff --git a/vendor/mbedtls/include/psa/build_info.h b/vendor/mbedtls/psa/build_info.h index 3ee6cd7..3ee6cd7 100644 --- a/vendor/mbedtls/include/psa/build_info.h +++ b/vendor/mbedtls/psa/build_info.h diff --git a/vendor/mbedtls/include/psa/crypto.h b/vendor/mbedtls/psa/crypto.h index 7083bd9..7083bd9 100644 --- a/vendor/mbedtls/include/psa/crypto.h +++ b/vendor/mbedtls/psa/crypto.h diff --git a/vendor/mbedtls/include/psa/crypto_adjust_auto_enabled.h b/vendor/mbedtls/psa/crypto_adjust_auto_enabled.h index 63fb29e..63fb29e 100644 --- a/vendor/mbedtls/include/psa/crypto_adjust_auto_enabled.h +++ b/vendor/mbedtls/psa/crypto_adjust_auto_enabled.h diff --git a/vendor/mbedtls/include/psa/crypto_adjust_config_dependencies.h b/vendor/mbedtls/psa/crypto_adjust_config_dependencies.h index 5a22205..5a22205 100644 --- a/vendor/mbedtls/include/psa/crypto_adjust_config_dependencies.h +++ b/vendor/mbedtls/psa/crypto_adjust_config_dependencies.h diff --git a/vendor/mbedtls/include/psa/crypto_adjust_config_key_pair_types.h b/vendor/mbedtls/psa/crypto_adjust_config_key_pair_types.h index 63afc0e..63afc0e 100644 --- a/vendor/mbedtls/include/psa/crypto_adjust_config_key_pair_types.h +++ b/vendor/mbedtls/psa/crypto_adjust_config_key_pair_types.h diff --git a/vendor/mbedtls/include/psa/crypto_adjust_config_synonyms.h b/vendor/mbedtls/psa/crypto_adjust_config_synonyms.h index 332b622..332b622 100644 --- a/vendor/mbedtls/include/psa/crypto_adjust_config_synonyms.h +++ b/vendor/mbedtls/psa/crypto_adjust_config_synonyms.h diff --git a/vendor/mbedtls/include/psa/crypto_builtin_composites.h b/vendor/mbedtls/psa/crypto_builtin_composites.h index c14f5dd..c14f5dd 100644 --- a/vendor/mbedtls/include/psa/crypto_builtin_composites.h +++ b/vendor/mbedtls/psa/crypto_builtin_composites.h diff --git a/vendor/mbedtls/include/psa/crypto_builtin_key_derivation.h b/vendor/mbedtls/psa/crypto_builtin_key_derivation.h index 6b91ae7..6b91ae7 100644 --- a/vendor/mbedtls/include/psa/crypto_builtin_key_derivation.h +++ b/vendor/mbedtls/psa/crypto_builtin_key_derivation.h diff --git a/vendor/mbedtls/include/psa/crypto_builtin_primitives.h b/vendor/mbedtls/psa/crypto_builtin_primitives.h index 98ab4d3..98ab4d3 100644 --- a/vendor/mbedtls/include/psa/crypto_builtin_primitives.h +++ b/vendor/mbedtls/psa/crypto_builtin_primitives.h diff --git a/vendor/mbedtls/include/psa/crypto_compat.h b/vendor/mbedtls/psa/crypto_compat.h index 2a226c0..2a226c0 100644 --- a/vendor/mbedtls/include/psa/crypto_compat.h +++ b/vendor/mbedtls/psa/crypto_compat.h diff --git a/vendor/mbedtls/include/psa/crypto_config.h b/vendor/mbedtls/psa/crypto_config.h index 36e937a..36e937a 100644 --- a/vendor/mbedtls/include/psa/crypto_config.h +++ b/vendor/mbedtls/psa/crypto_config.h diff --git a/vendor/mbedtls/include/psa/crypto_driver_common.h b/vendor/mbedtls/psa/crypto_driver_common.h index cc11d3b..cc11d3b 100644 --- a/vendor/mbedtls/include/psa/crypto_driver_common.h +++ b/vendor/mbedtls/psa/crypto_driver_common.h diff --git a/vendor/mbedtls/include/psa/crypto_driver_contexts_composites.h b/vendor/mbedtls/psa/crypto_driver_contexts_composites.h index d717c51..d717c51 100644 --- a/vendor/mbedtls/include/psa/crypto_driver_contexts_composites.h +++ b/vendor/mbedtls/psa/crypto_driver_contexts_composites.h diff --git a/vendor/mbedtls/include/psa/crypto_driver_contexts_key_derivation.h b/vendor/mbedtls/psa/crypto_driver_contexts_key_derivation.h index 2119051..2119051 100644 --- a/vendor/mbedtls/include/psa/crypto_driver_contexts_key_derivation.h +++ b/vendor/mbedtls/psa/crypto_driver_contexts_key_derivation.h diff --git a/vendor/mbedtls/include/psa/crypto_driver_contexts_primitives.h b/vendor/mbedtls/psa/crypto_driver_contexts_primitives.h index c90a5fb..c90a5fb 100644 --- a/vendor/mbedtls/include/psa/crypto_driver_contexts_primitives.h +++ b/vendor/mbedtls/psa/crypto_driver_contexts_primitives.h diff --git a/vendor/mbedtls/include/psa/crypto_extra.h b/vendor/mbedtls/psa/crypto_extra.h index 6ed1f6c..6ed1f6c 100644 --- a/vendor/mbedtls/include/psa/crypto_extra.h +++ b/vendor/mbedtls/psa/crypto_extra.h diff --git a/vendor/mbedtls/include/psa/crypto_legacy.h b/vendor/mbedtls/psa/crypto_legacy.h index 7df3614..7df3614 100644 --- a/vendor/mbedtls/include/psa/crypto_legacy.h +++ b/vendor/mbedtls/psa/crypto_legacy.h diff --git a/vendor/mbedtls/include/psa/crypto_platform.h b/vendor/mbedtls/psa/crypto_platform.h index a871ee1..a871ee1 100644 --- a/vendor/mbedtls/include/psa/crypto_platform.h +++ b/vendor/mbedtls/psa/crypto_platform.h diff --git a/vendor/mbedtls/include/psa/crypto_se_driver.h b/vendor/mbedtls/psa/crypto_se_driver.h index 9ce14bb..9ce14bb 100644 --- a/vendor/mbedtls/include/psa/crypto_se_driver.h +++ b/vendor/mbedtls/psa/crypto_se_driver.h diff --git a/vendor/mbedtls/include/psa/crypto_sizes.h b/vendor/mbedtls/psa/crypto_sizes.h index 635ee98..635ee98 100644 --- a/vendor/mbedtls/include/psa/crypto_sizes.h +++ b/vendor/mbedtls/psa/crypto_sizes.h diff --git a/vendor/mbedtls/include/psa/crypto_struct.h b/vendor/mbedtls/psa/crypto_struct.h index 3913551..3913551 100644 --- a/vendor/mbedtls/include/psa/crypto_struct.h +++ b/vendor/mbedtls/psa/crypto_struct.h diff --git a/vendor/mbedtls/include/psa/crypto_types.h b/vendor/mbedtls/psa/crypto_types.h index c21bad8..c21bad8 100644 --- a/vendor/mbedtls/include/psa/crypto_types.h +++ b/vendor/mbedtls/psa/crypto_types.h diff --git a/vendor/mbedtls/include/psa/crypto_values.h b/vendor/mbedtls/psa/crypto_values.h index 1d678db..1d678db 100644 --- a/vendor/mbedtls/include/psa/crypto_values.h +++ b/vendor/mbedtls/psa/crypto_values.h |