diff --git a/.astyleignore b/.astyleignore index 16841245b14..ba97ee2e08b 100644 --- a/.astyleignore +++ b/.astyleignore @@ -5,13 +5,14 @@ ^connectivity/libraries/mbed-coap ^connectivity/libraries/ppp ^connectivity/drivers/emac +^connectivity/drivers/mbedtls +^connectivity/mbedtls ^features/cryptocell ^features/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV ^features/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM ^features/frameworks ^connectivity/lwipstack/lwip ^connectivity/lwipstack/lwip-sys -^features/mbedtls ^connectivity/nanostack/sal-stack-nanostack/source/Service_Libs/mdns/fnet ^connectivity/nanostack/sal-stack-nanostack-eventloop ^storage/filesystem/fat/ChaN diff --git a/TESTS/configs/baremetal.json b/TESTS/configs/baremetal.json index b42a22142e9..01782a7b624 100644 --- a/TESTS/configs/baremetal.json +++ b/TESTS/configs/baremetal.json @@ -7,6 +7,8 @@ "psa", "psa-services", "mbedtls", + "mbedtls-stm", + "mbedtls-nuvoton", "psa-compliance-framework", "filesystem", "littlefs", diff --git a/UNITTESTS/CMakeLists.txt b/UNITTESTS/CMakeLists.txt index 87863ded1b2..77e7f8f4597 100644 --- a/UNITTESTS/CMakeLists.txt +++ b/UNITTESTS/CMakeLists.txt @@ -151,8 +151,8 @@ set(unittest-includes-base "${PROJECT_SOURCE_DIR}/../features/lorawan/lorastack/mac" "${PROJECT_SOURCE_DIR}/../features/lorawan/lorastack/phy" "${PROJECT_SOURCE_DIR}/../features/lorawan/system" - "${PROJECT_SOURCE_DIR}/../features/mbedtls" - "${PROJECT_SOURCE_DIR}/../features/mbedtls/inc" + "${PROJECT_SOURCE_DIR}/../connectivity/mbedtls" + "${PROJECT_SOURCE_DIR}/../connectivity/mbedtls/include" ) # Create a list for test suites. diff --git a/UNITTESTS/empty_baseline/unittest.cmake b/UNITTESTS/empty_baseline/unittest.cmake index e6a4da5bcf2..88fc3491126 100644 --- a/UNITTESTS/empty_baseline/unittest.cmake +++ b/UNITTESTS/empty_baseline/unittest.cmake @@ -6,8 +6,8 @@ set(unittest-includes ${unittest-includes} . .. - ../features/mbedtls/inc/mbedtls/ - ../features/mbedtls/platform/inc/ + ../connectivity/mbedtls/include/mbedtls/ + ../connectivity/mbedtls/platform/inc/ ../features/frameworks/mbed-trace/mbed-trace/ ) diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha1_alt.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha1_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha1_alt.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha1_alt.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha256_alt.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha256_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha256_alt.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha256_alt.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha512_alt.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha512_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha512_alt.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_01/sha512_alt.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha1_alt.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha1_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha1_alt.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha1_alt.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha256_alt.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha256_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha256_alt.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha256_alt.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha512_alt.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha512_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha512_alt.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/TARGET_MXCRYPTO_02/sha512_alt.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/aes_alt.c b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/aes_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/aes_alt.c rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/aes_alt.c diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/aes_alt.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/aes_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/aes_alt.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/aes_alt.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/crypto_common.c b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/crypto_common.c similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/crypto_common.c rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/crypto_common.c diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/crypto_common.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/crypto_common.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/crypto_common.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/crypto_common.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/ecdsa_alt.c b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/ecdsa_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/ecdsa_alt.c rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/ecdsa_alt.c diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/ecp_alt.c b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/ecp_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/ecp_alt.c rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/ecp_alt.c diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/ecp_alt.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/ecp_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/ecp_alt.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/ecp_alt.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/ecp_curves_alt.c b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/ecp_curves_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/ecp_curves_alt.c rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/ecp_curves_alt.c diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/sha1_alt.c b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/sha1_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/sha1_alt.c rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/sha1_alt.c diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/sha256_alt.c b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/sha256_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/sha256_alt.c rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/sha256_alt.c diff --git a/features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/sha512_alt.c b/connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/sha512_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/sha512_alt.c rename to connectivity/drivers/mbedtls/TARGET_Cypress/TARGET_MXCRYPTO/sha512_alt.c diff --git a/connectivity/drivers/mbedtls/TARGET_Cypress/mbed_lib.json b/connectivity/drivers/mbedtls/TARGET_Cypress/mbed_lib.json new file mode 100644 index 00000000000..d788e9cf829 --- /dev/null +++ b/connectivity/drivers/mbedtls/TARGET_Cypress/mbed_lib.json @@ -0,0 +1,3 @@ +{ + "name": "mbedtls-cypress" +} \ No newline at end of file diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/des/des_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/des/des_alt.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/des/des_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/des/des_alt.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c similarity index 99% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c index 48804e51eb1..c0c116b2154 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c +++ b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/ecp/ecp_internal_alt.c @@ -214,7 +214,7 @@ unsigned char mbedtls_internal_ecp_grp_capable( const mbedtls_ecp_group *grp ) { /* Support only short Weierstrass type * - * ECP type is checked by referring to mbed-os/features/mbedtls/src/ecp.c > ecp_get_type + * ECP type is checked by referring to mbed-os/connectivity/mbedtls/src/ecp.c > ecp_get_type */ if (grp->G.X.p == NULL || grp->G.Y.p == NULL) { return 0; diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt_sw.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt_sw.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt_sw.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt_sw.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt_sw.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt_sw.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt_sw.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt_sw.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt_sw.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt_sw.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt_sw.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt_sw.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt_sw.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt_sw.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt_sw.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt_sw.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt_sw.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt_sw.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt_sw.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt_sw.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt_sw.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt_sw.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt_sw.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt_sw.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_M480/sha/sha_alt_hw.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/TARGET_NUMAKER_PFM_NUC472/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/des/des_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/des/des_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/des/des_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/des/des_alt.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/des/des_alt.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/des/des_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/des/des_alt.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/des/des_alt.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt_sw.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt_sw.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt_sw.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt_sw.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt_sw.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt_sw.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt_sw.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha1_alt_sw.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt_sw.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt_sw.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt_sw.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt_sw.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt_sw.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt_sw.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt_sw.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha256_alt_sw.h diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha_alt_hw.c b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha_alt_hw.c similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha_alt_hw.c rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha_alt_hw.c diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha_alt_hw.h b/connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha_alt_hw.h similarity index 100% rename from features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/sha/sha_alt_hw.h rename to connectivity/drivers/mbedtls/TARGET_NUVOTON/TARGET_NUC472/sha/sha_alt_hw.h diff --git a/connectivity/drivers/mbedtls/TARGET_NUVOTON/mbed_lib.json b/connectivity/drivers/mbedtls/TARGET_NUVOTON/mbed_lib.json new file mode 100644 index 00000000000..f96554e9eed --- /dev/null +++ b/connectivity/drivers/mbedtls/TARGET_NUVOTON/mbed_lib.json @@ -0,0 +1,3 @@ +{ + "name": "mbedtls-nuvoton" +} \ No newline at end of file diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32F437xG/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32F437xG/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/TARGET_STM32F437xG/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32F437xG/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32F439xI/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32F439xI/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/TARGET_STM32F439xI/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32F439xI/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32F756xG/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32F756xG/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/TARGET_STM32F756xG/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32F756xG/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32L443xC/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32L443xC/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/TARGET_STM32L443xC/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32L443xC/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32L486xG/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32L486xG/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/TARGET_STM32L486xG/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32L486xG/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32L562xx/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32L562xx/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/TARGET_STM32L562xx/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32L562xx/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_STM/TARGET_STM32WB55xx/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32WB55xx/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/TARGET_STM32WB55xx/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_STM/TARGET_STM32WB55xx/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_STM/aes_alt.cpp b/connectivity/drivers/mbedtls/TARGET_STM/aes_alt.cpp similarity index 100% rename from features/mbedtls/targets/TARGET_STM/aes_alt.cpp rename to connectivity/drivers/mbedtls/TARGET_STM/aes_alt.cpp diff --git a/features/mbedtls/targets/TARGET_STM/aes_alt.h b/connectivity/drivers/mbedtls/TARGET_STM/aes_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/aes_alt.h rename to connectivity/drivers/mbedtls/TARGET_STM/aes_alt.h diff --git a/features/mbedtls/targets/TARGET_STM/aes_alt_stm32l4.c b/connectivity/drivers/mbedtls/TARGET_STM/aes_alt_stm32l4.c similarity index 100% rename from features/mbedtls/targets/TARGET_STM/aes_alt_stm32l4.c rename to connectivity/drivers/mbedtls/TARGET_STM/aes_alt_stm32l4.c diff --git a/features/mbedtls/targets/TARGET_STM/aes_alt_stm32l4.h b/connectivity/drivers/mbedtls/TARGET_STM/aes_alt_stm32l4.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/aes_alt_stm32l4.h rename to connectivity/drivers/mbedtls/TARGET_STM/aes_alt_stm32l4.h diff --git a/features/mbedtls/targets/TARGET_STM/ccm_alt.cpp b/connectivity/drivers/mbedtls/TARGET_STM/ccm_alt.cpp similarity index 100% rename from features/mbedtls/targets/TARGET_STM/ccm_alt.cpp rename to connectivity/drivers/mbedtls/TARGET_STM/ccm_alt.cpp diff --git a/features/mbedtls/targets/TARGET_STM/ccm_alt.h b/connectivity/drivers/mbedtls/TARGET_STM/ccm_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/ccm_alt.h rename to connectivity/drivers/mbedtls/TARGET_STM/ccm_alt.h diff --git a/features/mbedtls/targets/TARGET_STM/cryp_stm32.c b/connectivity/drivers/mbedtls/TARGET_STM/cryp_stm32.c similarity index 100% rename from features/mbedtls/targets/TARGET_STM/cryp_stm32.c rename to connectivity/drivers/mbedtls/TARGET_STM/cryp_stm32.c diff --git a/features/mbedtls/targets/TARGET_STM/cryp_stm32.h b/connectivity/drivers/mbedtls/TARGET_STM/cryp_stm32.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/cryp_stm32.h rename to connectivity/drivers/mbedtls/TARGET_STM/cryp_stm32.h diff --git a/features/mbedtls/targets/TARGET_STM/gcm_alt.cpp b/connectivity/drivers/mbedtls/TARGET_STM/gcm_alt.cpp similarity index 100% rename from features/mbedtls/targets/TARGET_STM/gcm_alt.cpp rename to connectivity/drivers/mbedtls/TARGET_STM/gcm_alt.cpp diff --git a/features/mbedtls/targets/TARGET_STM/gcm_alt.h b/connectivity/drivers/mbedtls/TARGET_STM/gcm_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/gcm_alt.h rename to connectivity/drivers/mbedtls/TARGET_STM/gcm_alt.h diff --git a/features/mbedtls/targets/TARGET_STM/hash_stm32.c b/connectivity/drivers/mbedtls/TARGET_STM/hash_stm32.c similarity index 100% rename from features/mbedtls/targets/TARGET_STM/hash_stm32.c rename to connectivity/drivers/mbedtls/TARGET_STM/hash_stm32.c diff --git a/features/mbedtls/targets/TARGET_STM/hash_stm32.h b/connectivity/drivers/mbedtls/TARGET_STM/hash_stm32.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/hash_stm32.h rename to connectivity/drivers/mbedtls/TARGET_STM/hash_stm32.h diff --git a/connectivity/drivers/mbedtls/TARGET_STM/mbed_lib.json b/connectivity/drivers/mbedtls/TARGET_STM/mbed_lib.json new file mode 100644 index 00000000000..195343d873f --- /dev/null +++ b/connectivity/drivers/mbedtls/TARGET_STM/mbed_lib.json @@ -0,0 +1,3 @@ +{ + "name": "mbedtls-stm" +} \ No newline at end of file diff --git a/features/mbedtls/targets/TARGET_STM/md5_alt.cpp b/connectivity/drivers/mbedtls/TARGET_STM/md5_alt.cpp similarity index 100% rename from features/mbedtls/targets/TARGET_STM/md5_alt.cpp rename to connectivity/drivers/mbedtls/TARGET_STM/md5_alt.cpp diff --git a/features/mbedtls/targets/TARGET_STM/md5_alt.h b/connectivity/drivers/mbedtls/TARGET_STM/md5_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/md5_alt.h rename to connectivity/drivers/mbedtls/TARGET_STM/md5_alt.h diff --git a/features/mbedtls/targets/TARGET_STM/sha1_alt.cpp b/connectivity/drivers/mbedtls/TARGET_STM/sha1_alt.cpp similarity index 100% rename from features/mbedtls/targets/TARGET_STM/sha1_alt.cpp rename to connectivity/drivers/mbedtls/TARGET_STM/sha1_alt.cpp diff --git a/features/mbedtls/targets/TARGET_STM/sha1_alt.h b/connectivity/drivers/mbedtls/TARGET_STM/sha1_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/sha1_alt.h rename to connectivity/drivers/mbedtls/TARGET_STM/sha1_alt.h diff --git a/features/mbedtls/targets/TARGET_STM/sha256_alt.cpp b/connectivity/drivers/mbedtls/TARGET_STM/sha256_alt.cpp similarity index 100% rename from features/mbedtls/targets/TARGET_STM/sha256_alt.cpp rename to connectivity/drivers/mbedtls/TARGET_STM/sha256_alt.cpp diff --git a/features/mbedtls/targets/TARGET_STM/sha256_alt.h b/connectivity/drivers/mbedtls/TARGET_STM/sha256_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_STM/sha256_alt.h rename to connectivity/drivers/mbedtls/TARGET_STM/sha256_alt.h diff --git a/connectivity/drivers/mbedtls/TARGET_Samsung/mbed_lib.json b/connectivity/drivers/mbedtls/TARGET_Samsung/mbed_lib.json new file mode 100644 index 00000000000..09672c9fcbf --- /dev/null +++ b/connectivity/drivers/mbedtls/TARGET_Samsung/mbed_lib.json @@ -0,0 +1,3 @@ +{ + "name": "mbedtls-samsung" +} \ No newline at end of file diff --git a/features/mbedtls/targets/TARGET_Samsung/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_Samsung/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_Samsung/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_Samsung/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_Samsung/sha/sha256_alt.c b/connectivity/drivers/mbedtls/TARGET_Samsung/sha/sha256_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_Samsung/sha/sha256_alt.c rename to connectivity/drivers/mbedtls/TARGET_Samsung/sha/sha256_alt.c diff --git a/features/mbedtls/targets/TARGET_Samsung/sha/sha256_alt.h b/connectivity/drivers/mbedtls/TARGET_Samsung/sha/sha256_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Samsung/sha/sha256_alt.h rename to connectivity/drivers/mbedtls/TARGET_Samsung/sha/sha256_alt.h diff --git a/features/mbedtls/targets/TARGET_Samsung/sha/sha512_alt.c b/connectivity/drivers/mbedtls/TARGET_Samsung/sha/sha512_alt.c similarity index 100% rename from features/mbedtls/targets/TARGET_Samsung/sha/sha512_alt.c rename to connectivity/drivers/mbedtls/TARGET_Samsung/sha/sha512_alt.c diff --git a/features/mbedtls/targets/TARGET_Samsung/sha/sha512_alt.h b/connectivity/drivers/mbedtls/TARGET_Samsung/sha/sha512_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Samsung/sha/sha512_alt.h rename to connectivity/drivers/mbedtls/TARGET_Samsung/sha/sha512_alt.h diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/aes_aes.c b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/aes_aes.c similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/aes_aes.c rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/aes_aes.c diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/aes_alt.h b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/aes_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/aes_alt.h rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/aes_alt.h diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/crypto_aes.c b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_aes.c similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/crypto_aes.c rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_aes.c diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/crypto_ecp.c b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_ecp.c similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/crypto_ecp.c rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_ecp.c diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/crypto_management.c b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_management.c similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/crypto_management.c rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_management.c diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/crypto_management.h b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_management.h similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/crypto_management.h rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_management.h diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/crypto_sha.c b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_sha.c similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/crypto_sha.c rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/crypto_sha.c diff --git a/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/mbed_lib.json b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/mbed_lib.json new file mode 100644 index 00000000000..321ba10470d --- /dev/null +++ b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/mbed_lib.json @@ -0,0 +1,3 @@ +{ + "name": "mbedtls-siliconlabs" +} \ No newline at end of file diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/mbedtls_device.h b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/mbedtls_device.h similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/mbedtls_device.h rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/mbedtls_device.h diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/sha1_alt.h b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/sha1_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/sha1_alt.h rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/sha1_alt.h diff --git a/features/mbedtls/targets/TARGET_Silicon_Labs/sha256_alt.h b/connectivity/drivers/mbedtls/TARGET_Silicon_Labs/sha256_alt.h similarity index 100% rename from features/mbedtls/targets/TARGET_Silicon_Labs/sha256_alt.h rename to connectivity/drivers/mbedtls/TARGET_Silicon_Labs/sha256_alt.h diff --git a/features/mbedtls/LICENSE b/connectivity/mbedtls/LICENSE similarity index 100% rename from features/mbedtls/LICENSE rename to connectivity/mbedtls/LICENSE diff --git a/features/mbedtls/README.md b/connectivity/mbedtls/README.md similarity index 100% rename from features/mbedtls/README.md rename to connectivity/mbedtls/README.md diff --git a/features/mbedtls/VERSION.txt b/connectivity/mbedtls/VERSION.txt similarity index 100% rename from features/mbedtls/VERSION.txt rename to connectivity/mbedtls/VERSION.txt diff --git a/features/mbedtls/apache-2.0.txt b/connectivity/mbedtls/apache-2.0.txt similarity index 100% rename from features/mbedtls/apache-2.0.txt rename to connectivity/mbedtls/apache-2.0.txt diff --git a/features/mbedtls/inc/mbedtls/aes.h b/connectivity/mbedtls/include/mbedtls/aes.h similarity index 100% rename from features/mbedtls/inc/mbedtls/aes.h rename to connectivity/mbedtls/include/mbedtls/aes.h diff --git a/features/mbedtls/inc/mbedtls/aesni.h b/connectivity/mbedtls/include/mbedtls/aesni.h similarity index 100% rename from features/mbedtls/inc/mbedtls/aesni.h rename to connectivity/mbedtls/include/mbedtls/aesni.h diff --git a/features/mbedtls/inc/mbedtls/arc4.h b/connectivity/mbedtls/include/mbedtls/arc4.h similarity index 100% rename from features/mbedtls/inc/mbedtls/arc4.h rename to connectivity/mbedtls/include/mbedtls/arc4.h diff --git a/features/mbedtls/inc/mbedtls/aria.h b/connectivity/mbedtls/include/mbedtls/aria.h similarity index 100% rename from features/mbedtls/inc/mbedtls/aria.h rename to connectivity/mbedtls/include/mbedtls/aria.h diff --git a/features/mbedtls/inc/mbedtls/asn1.h b/connectivity/mbedtls/include/mbedtls/asn1.h similarity index 100% rename from features/mbedtls/inc/mbedtls/asn1.h rename to connectivity/mbedtls/include/mbedtls/asn1.h diff --git a/features/mbedtls/inc/mbedtls/asn1write.h b/connectivity/mbedtls/include/mbedtls/asn1write.h similarity index 100% rename from features/mbedtls/inc/mbedtls/asn1write.h rename to connectivity/mbedtls/include/mbedtls/asn1write.h diff --git a/features/mbedtls/inc/mbedtls/base64.h b/connectivity/mbedtls/include/mbedtls/base64.h similarity index 100% rename from features/mbedtls/inc/mbedtls/base64.h rename to connectivity/mbedtls/include/mbedtls/base64.h diff --git a/features/mbedtls/inc/mbedtls/bignum.h b/connectivity/mbedtls/include/mbedtls/bignum.h similarity index 100% rename from features/mbedtls/inc/mbedtls/bignum.h rename to connectivity/mbedtls/include/mbedtls/bignum.h diff --git a/features/mbedtls/inc/mbedtls/blowfish.h b/connectivity/mbedtls/include/mbedtls/blowfish.h similarity index 100% rename from features/mbedtls/inc/mbedtls/blowfish.h rename to connectivity/mbedtls/include/mbedtls/blowfish.h diff --git a/features/mbedtls/inc/mbedtls/bn_mul.h b/connectivity/mbedtls/include/mbedtls/bn_mul.h similarity index 100% rename from features/mbedtls/inc/mbedtls/bn_mul.h rename to connectivity/mbedtls/include/mbedtls/bn_mul.h diff --git a/features/mbedtls/inc/mbedtls/camellia.h b/connectivity/mbedtls/include/mbedtls/camellia.h similarity index 100% rename from features/mbedtls/inc/mbedtls/camellia.h rename to connectivity/mbedtls/include/mbedtls/camellia.h diff --git a/features/mbedtls/inc/mbedtls/ccm.h b/connectivity/mbedtls/include/mbedtls/ccm.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ccm.h rename to connectivity/mbedtls/include/mbedtls/ccm.h diff --git a/features/mbedtls/inc/mbedtls/certs.h b/connectivity/mbedtls/include/mbedtls/certs.h similarity index 100% rename from features/mbedtls/inc/mbedtls/certs.h rename to connectivity/mbedtls/include/mbedtls/certs.h diff --git a/features/mbedtls/inc/mbedtls/chacha20.h b/connectivity/mbedtls/include/mbedtls/chacha20.h similarity index 100% rename from features/mbedtls/inc/mbedtls/chacha20.h rename to connectivity/mbedtls/include/mbedtls/chacha20.h diff --git a/features/mbedtls/inc/mbedtls/chachapoly.h b/connectivity/mbedtls/include/mbedtls/chachapoly.h similarity index 100% rename from features/mbedtls/inc/mbedtls/chachapoly.h rename to connectivity/mbedtls/include/mbedtls/chachapoly.h diff --git a/features/mbedtls/inc/mbedtls/check_config.h b/connectivity/mbedtls/include/mbedtls/check_config.h similarity index 100% rename from features/mbedtls/inc/mbedtls/check_config.h rename to connectivity/mbedtls/include/mbedtls/check_config.h diff --git a/features/mbedtls/inc/mbedtls/cipher.h b/connectivity/mbedtls/include/mbedtls/cipher.h similarity index 100% rename from features/mbedtls/inc/mbedtls/cipher.h rename to connectivity/mbedtls/include/mbedtls/cipher.h diff --git a/features/mbedtls/inc/mbedtls/cipher_internal.h b/connectivity/mbedtls/include/mbedtls/cipher_internal.h similarity index 100% rename from features/mbedtls/inc/mbedtls/cipher_internal.h rename to connectivity/mbedtls/include/mbedtls/cipher_internal.h diff --git a/features/mbedtls/inc/mbedtls/cmac.h b/connectivity/mbedtls/include/mbedtls/cmac.h similarity index 100% rename from features/mbedtls/inc/mbedtls/cmac.h rename to connectivity/mbedtls/include/mbedtls/cmac.h diff --git a/features/mbedtls/inc/mbedtls/compat-1.3.h b/connectivity/mbedtls/include/mbedtls/compat-1.3.h similarity index 100% rename from features/mbedtls/inc/mbedtls/compat-1.3.h rename to connectivity/mbedtls/include/mbedtls/compat-1.3.h diff --git a/features/mbedtls/inc/mbedtls/config-no-entropy.h b/connectivity/mbedtls/include/mbedtls/config-no-entropy.h similarity index 100% rename from features/mbedtls/inc/mbedtls/config-no-entropy.h rename to connectivity/mbedtls/include/mbedtls/config-no-entropy.h diff --git a/features/mbedtls/inc/mbedtls/config.h b/connectivity/mbedtls/include/mbedtls/config.h similarity index 100% rename from features/mbedtls/inc/mbedtls/config.h rename to connectivity/mbedtls/include/mbedtls/config.h diff --git a/features/mbedtls/inc/mbedtls/ctr_drbg.h b/connectivity/mbedtls/include/mbedtls/ctr_drbg.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ctr_drbg.h rename to connectivity/mbedtls/include/mbedtls/ctr_drbg.h diff --git a/features/mbedtls/inc/mbedtls/debug.h b/connectivity/mbedtls/include/mbedtls/debug.h similarity index 100% rename from features/mbedtls/inc/mbedtls/debug.h rename to connectivity/mbedtls/include/mbedtls/debug.h diff --git a/features/mbedtls/inc/mbedtls/des.h b/connectivity/mbedtls/include/mbedtls/des.h similarity index 100% rename from features/mbedtls/inc/mbedtls/des.h rename to connectivity/mbedtls/include/mbedtls/des.h diff --git a/features/mbedtls/inc/mbedtls/dhm.h b/connectivity/mbedtls/include/mbedtls/dhm.h similarity index 100% rename from features/mbedtls/inc/mbedtls/dhm.h rename to connectivity/mbedtls/include/mbedtls/dhm.h diff --git a/features/mbedtls/inc/mbedtls/ecdh.h b/connectivity/mbedtls/include/mbedtls/ecdh.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ecdh.h rename to connectivity/mbedtls/include/mbedtls/ecdh.h diff --git a/features/mbedtls/inc/mbedtls/ecdsa.h b/connectivity/mbedtls/include/mbedtls/ecdsa.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ecdsa.h rename to connectivity/mbedtls/include/mbedtls/ecdsa.h diff --git a/features/mbedtls/inc/mbedtls/ecjpake.h b/connectivity/mbedtls/include/mbedtls/ecjpake.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ecjpake.h rename to connectivity/mbedtls/include/mbedtls/ecjpake.h diff --git a/features/mbedtls/inc/mbedtls/ecp.h b/connectivity/mbedtls/include/mbedtls/ecp.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ecp.h rename to connectivity/mbedtls/include/mbedtls/ecp.h diff --git a/features/mbedtls/inc/mbedtls/ecp_internal.h b/connectivity/mbedtls/include/mbedtls/ecp_internal.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ecp_internal.h rename to connectivity/mbedtls/include/mbedtls/ecp_internal.h diff --git a/features/mbedtls/inc/mbedtls/entropy.h b/connectivity/mbedtls/include/mbedtls/entropy.h similarity index 100% rename from features/mbedtls/inc/mbedtls/entropy.h rename to connectivity/mbedtls/include/mbedtls/entropy.h diff --git a/features/mbedtls/inc/mbedtls/entropy_poll.h b/connectivity/mbedtls/include/mbedtls/entropy_poll.h similarity index 100% rename from features/mbedtls/inc/mbedtls/entropy_poll.h rename to connectivity/mbedtls/include/mbedtls/entropy_poll.h diff --git a/features/mbedtls/inc/mbedtls/error.h b/connectivity/mbedtls/include/mbedtls/error.h similarity index 100% rename from features/mbedtls/inc/mbedtls/error.h rename to connectivity/mbedtls/include/mbedtls/error.h diff --git a/features/mbedtls/inc/mbedtls/gcm.h b/connectivity/mbedtls/include/mbedtls/gcm.h similarity index 100% rename from features/mbedtls/inc/mbedtls/gcm.h rename to connectivity/mbedtls/include/mbedtls/gcm.h diff --git a/features/mbedtls/inc/mbedtls/havege.h b/connectivity/mbedtls/include/mbedtls/havege.h similarity index 100% rename from features/mbedtls/inc/mbedtls/havege.h rename to connectivity/mbedtls/include/mbedtls/havege.h diff --git a/features/mbedtls/inc/mbedtls/hkdf.h b/connectivity/mbedtls/include/mbedtls/hkdf.h similarity index 100% rename from features/mbedtls/inc/mbedtls/hkdf.h rename to connectivity/mbedtls/include/mbedtls/hkdf.h diff --git a/features/mbedtls/inc/mbedtls/hmac_drbg.h b/connectivity/mbedtls/include/mbedtls/hmac_drbg.h similarity index 100% rename from features/mbedtls/inc/mbedtls/hmac_drbg.h rename to connectivity/mbedtls/include/mbedtls/hmac_drbg.h diff --git a/features/mbedtls/inc/mbedtls/md.h b/connectivity/mbedtls/include/mbedtls/md.h similarity index 100% rename from features/mbedtls/inc/mbedtls/md.h rename to connectivity/mbedtls/include/mbedtls/md.h diff --git a/features/mbedtls/inc/mbedtls/md2.h b/connectivity/mbedtls/include/mbedtls/md2.h similarity index 100% rename from features/mbedtls/inc/mbedtls/md2.h rename to connectivity/mbedtls/include/mbedtls/md2.h diff --git a/features/mbedtls/inc/mbedtls/md4.h b/connectivity/mbedtls/include/mbedtls/md4.h similarity index 100% rename from features/mbedtls/inc/mbedtls/md4.h rename to connectivity/mbedtls/include/mbedtls/md4.h diff --git a/features/mbedtls/inc/mbedtls/md5.h b/connectivity/mbedtls/include/mbedtls/md5.h similarity index 100% rename from features/mbedtls/inc/mbedtls/md5.h rename to connectivity/mbedtls/include/mbedtls/md5.h diff --git a/features/mbedtls/inc/mbedtls/md_internal.h b/connectivity/mbedtls/include/mbedtls/md_internal.h similarity index 100% rename from features/mbedtls/inc/mbedtls/md_internal.h rename to connectivity/mbedtls/include/mbedtls/md_internal.h diff --git a/features/mbedtls/inc/mbedtls/memory_buffer_alloc.h b/connectivity/mbedtls/include/mbedtls/memory_buffer_alloc.h similarity index 100% rename from features/mbedtls/inc/mbedtls/memory_buffer_alloc.h rename to connectivity/mbedtls/include/mbedtls/memory_buffer_alloc.h diff --git a/features/mbedtls/inc/mbedtls/net.h b/connectivity/mbedtls/include/mbedtls/net.h similarity index 100% rename from features/mbedtls/inc/mbedtls/net.h rename to connectivity/mbedtls/include/mbedtls/net.h diff --git a/features/mbedtls/inc/mbedtls/net_sockets.h b/connectivity/mbedtls/include/mbedtls/net_sockets.h similarity index 100% rename from features/mbedtls/inc/mbedtls/net_sockets.h rename to connectivity/mbedtls/include/mbedtls/net_sockets.h diff --git a/features/mbedtls/inc/mbedtls/nist_kw.h b/connectivity/mbedtls/include/mbedtls/nist_kw.h similarity index 100% rename from features/mbedtls/inc/mbedtls/nist_kw.h rename to connectivity/mbedtls/include/mbedtls/nist_kw.h diff --git a/features/mbedtls/inc/mbedtls/oid.h b/connectivity/mbedtls/include/mbedtls/oid.h similarity index 100% rename from features/mbedtls/inc/mbedtls/oid.h rename to connectivity/mbedtls/include/mbedtls/oid.h diff --git a/features/mbedtls/inc/mbedtls/padlock.h b/connectivity/mbedtls/include/mbedtls/padlock.h similarity index 100% rename from features/mbedtls/inc/mbedtls/padlock.h rename to connectivity/mbedtls/include/mbedtls/padlock.h diff --git a/features/mbedtls/inc/mbedtls/pem.h b/connectivity/mbedtls/include/mbedtls/pem.h similarity index 100% rename from features/mbedtls/inc/mbedtls/pem.h rename to connectivity/mbedtls/include/mbedtls/pem.h diff --git a/features/mbedtls/inc/mbedtls/pk.h b/connectivity/mbedtls/include/mbedtls/pk.h similarity index 100% rename from features/mbedtls/inc/mbedtls/pk.h rename to connectivity/mbedtls/include/mbedtls/pk.h diff --git a/features/mbedtls/inc/mbedtls/pk_internal.h b/connectivity/mbedtls/include/mbedtls/pk_internal.h similarity index 100% rename from features/mbedtls/inc/mbedtls/pk_internal.h rename to connectivity/mbedtls/include/mbedtls/pk_internal.h diff --git a/features/mbedtls/inc/mbedtls/pkcs11.h b/connectivity/mbedtls/include/mbedtls/pkcs11.h similarity index 100% rename from features/mbedtls/inc/mbedtls/pkcs11.h rename to connectivity/mbedtls/include/mbedtls/pkcs11.h diff --git a/features/mbedtls/inc/mbedtls/pkcs12.h b/connectivity/mbedtls/include/mbedtls/pkcs12.h similarity index 100% rename from features/mbedtls/inc/mbedtls/pkcs12.h rename to connectivity/mbedtls/include/mbedtls/pkcs12.h diff --git a/features/mbedtls/inc/mbedtls/pkcs5.h b/connectivity/mbedtls/include/mbedtls/pkcs5.h similarity index 100% rename from features/mbedtls/inc/mbedtls/pkcs5.h rename to connectivity/mbedtls/include/mbedtls/pkcs5.h diff --git a/features/mbedtls/inc/mbedtls/platform.h b/connectivity/mbedtls/include/mbedtls/platform.h similarity index 100% rename from features/mbedtls/inc/mbedtls/platform.h rename to connectivity/mbedtls/include/mbedtls/platform.h diff --git a/features/mbedtls/inc/mbedtls/platform_time.h b/connectivity/mbedtls/include/mbedtls/platform_time.h similarity index 100% rename from features/mbedtls/inc/mbedtls/platform_time.h rename to connectivity/mbedtls/include/mbedtls/platform_time.h diff --git a/features/mbedtls/inc/mbedtls/platform_util.h b/connectivity/mbedtls/include/mbedtls/platform_util.h similarity index 100% rename from features/mbedtls/inc/mbedtls/platform_util.h rename to connectivity/mbedtls/include/mbedtls/platform_util.h diff --git a/features/mbedtls/inc/mbedtls/poly1305.h b/connectivity/mbedtls/include/mbedtls/poly1305.h similarity index 100% rename from features/mbedtls/inc/mbedtls/poly1305.h rename to connectivity/mbedtls/include/mbedtls/poly1305.h diff --git a/features/mbedtls/inc/mbedtls/psa_util.h b/connectivity/mbedtls/include/mbedtls/psa_util.h similarity index 100% rename from features/mbedtls/inc/mbedtls/psa_util.h rename to connectivity/mbedtls/include/mbedtls/psa_util.h diff --git a/features/mbedtls/inc/mbedtls/ripemd160.h b/connectivity/mbedtls/include/mbedtls/ripemd160.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ripemd160.h rename to connectivity/mbedtls/include/mbedtls/ripemd160.h diff --git a/features/mbedtls/inc/mbedtls/rsa.h b/connectivity/mbedtls/include/mbedtls/rsa.h similarity index 100% rename from features/mbedtls/inc/mbedtls/rsa.h rename to connectivity/mbedtls/include/mbedtls/rsa.h diff --git a/features/mbedtls/inc/mbedtls/rsa_internal.h b/connectivity/mbedtls/include/mbedtls/rsa_internal.h similarity index 100% rename from features/mbedtls/inc/mbedtls/rsa_internal.h rename to connectivity/mbedtls/include/mbedtls/rsa_internal.h diff --git a/features/mbedtls/inc/mbedtls/sha1.h b/connectivity/mbedtls/include/mbedtls/sha1.h similarity index 100% rename from features/mbedtls/inc/mbedtls/sha1.h rename to connectivity/mbedtls/include/mbedtls/sha1.h diff --git a/features/mbedtls/inc/mbedtls/sha256.h b/connectivity/mbedtls/include/mbedtls/sha256.h similarity index 100% rename from features/mbedtls/inc/mbedtls/sha256.h rename to connectivity/mbedtls/include/mbedtls/sha256.h diff --git a/features/mbedtls/inc/mbedtls/sha512.h b/connectivity/mbedtls/include/mbedtls/sha512.h similarity index 100% rename from features/mbedtls/inc/mbedtls/sha512.h rename to connectivity/mbedtls/include/mbedtls/sha512.h diff --git a/features/mbedtls/inc/mbedtls/ssl.h b/connectivity/mbedtls/include/mbedtls/ssl.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ssl.h rename to connectivity/mbedtls/include/mbedtls/ssl.h diff --git a/features/mbedtls/inc/mbedtls/ssl_cache.h b/connectivity/mbedtls/include/mbedtls/ssl_cache.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ssl_cache.h rename to connectivity/mbedtls/include/mbedtls/ssl_cache.h diff --git a/features/mbedtls/inc/mbedtls/ssl_ciphersuites.h b/connectivity/mbedtls/include/mbedtls/ssl_ciphersuites.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ssl_ciphersuites.h rename to connectivity/mbedtls/include/mbedtls/ssl_ciphersuites.h diff --git a/features/mbedtls/inc/mbedtls/ssl_cookie.h b/connectivity/mbedtls/include/mbedtls/ssl_cookie.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ssl_cookie.h rename to connectivity/mbedtls/include/mbedtls/ssl_cookie.h diff --git a/features/mbedtls/inc/mbedtls/ssl_internal.h b/connectivity/mbedtls/include/mbedtls/ssl_internal.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ssl_internal.h rename to connectivity/mbedtls/include/mbedtls/ssl_internal.h diff --git a/features/mbedtls/inc/mbedtls/ssl_ticket.h b/connectivity/mbedtls/include/mbedtls/ssl_ticket.h similarity index 100% rename from features/mbedtls/inc/mbedtls/ssl_ticket.h rename to connectivity/mbedtls/include/mbedtls/ssl_ticket.h diff --git a/features/mbedtls/inc/mbedtls/threading.h b/connectivity/mbedtls/include/mbedtls/threading.h similarity index 100% rename from features/mbedtls/inc/mbedtls/threading.h rename to connectivity/mbedtls/include/mbedtls/threading.h diff --git a/features/mbedtls/inc/mbedtls/timing.h b/connectivity/mbedtls/include/mbedtls/timing.h similarity index 100% rename from features/mbedtls/inc/mbedtls/timing.h rename to connectivity/mbedtls/include/mbedtls/timing.h diff --git a/features/mbedtls/inc/mbedtls/version.h b/connectivity/mbedtls/include/mbedtls/version.h similarity index 100% rename from features/mbedtls/inc/mbedtls/version.h rename to connectivity/mbedtls/include/mbedtls/version.h diff --git a/features/mbedtls/inc/mbedtls/x509.h b/connectivity/mbedtls/include/mbedtls/x509.h similarity index 100% rename from features/mbedtls/inc/mbedtls/x509.h rename to connectivity/mbedtls/include/mbedtls/x509.h diff --git a/features/mbedtls/inc/mbedtls/x509_crl.h b/connectivity/mbedtls/include/mbedtls/x509_crl.h similarity index 100% rename from features/mbedtls/inc/mbedtls/x509_crl.h rename to connectivity/mbedtls/include/mbedtls/x509_crl.h diff --git a/features/mbedtls/inc/mbedtls/x509_crt.h b/connectivity/mbedtls/include/mbedtls/x509_crt.h similarity index 100% rename from features/mbedtls/inc/mbedtls/x509_crt.h rename to connectivity/mbedtls/include/mbedtls/x509_crt.h diff --git a/features/mbedtls/inc/mbedtls/x509_csr.h b/connectivity/mbedtls/include/mbedtls/x509_csr.h similarity index 100% rename from features/mbedtls/inc/mbedtls/x509_csr.h rename to connectivity/mbedtls/include/mbedtls/x509_csr.h diff --git a/features/mbedtls/inc/mbedtls/xtea.h b/connectivity/mbedtls/include/mbedtls/xtea.h similarity index 100% rename from features/mbedtls/inc/mbedtls/xtea.h rename to connectivity/mbedtls/include/mbedtls/xtea.h diff --git a/features/mbedtls/mbed_lib.json b/connectivity/mbedtls/mbed_lib.json similarity index 100% rename from features/mbedtls/mbed_lib.json rename to connectivity/mbedtls/mbed_lib.json diff --git a/features/mbedtls/platform/inc/platform_alt.h b/connectivity/mbedtls/platform/inc/platform_alt.h similarity index 100% rename from features/mbedtls/platform/inc/platform_alt.h rename to connectivity/mbedtls/platform/inc/platform_alt.h diff --git a/features/mbedtls/platform/inc/platform_mbed.h b/connectivity/mbedtls/platform/inc/platform_mbed.h similarity index 100% rename from features/mbedtls/platform/inc/platform_mbed.h rename to connectivity/mbedtls/platform/inc/platform_mbed.h diff --git a/features/mbedtls/platform/inc/shared_rng.h b/connectivity/mbedtls/platform/inc/shared_rng.h similarity index 100% rename from features/mbedtls/platform/inc/shared_rng.h rename to connectivity/mbedtls/platform/inc/shared_rng.h diff --git a/features/mbedtls/platform/src/mbed_trng.cpp b/connectivity/mbedtls/platform/src/mbed_trng.cpp similarity index 100% rename from features/mbedtls/platform/src/mbed_trng.cpp rename to connectivity/mbedtls/platform/src/mbed_trng.cpp diff --git a/features/mbedtls/platform/src/platform_alt.cpp b/connectivity/mbedtls/platform/src/platform_alt.cpp similarity index 100% rename from features/mbedtls/platform/src/platform_alt.cpp rename to connectivity/mbedtls/platform/src/platform_alt.cpp diff --git a/features/mbedtls/platform/src/shared_rng.cpp b/connectivity/mbedtls/platform/src/shared_rng.cpp similarity index 100% rename from features/mbedtls/platform/src/shared_rng.cpp rename to connectivity/mbedtls/platform/src/shared_rng.cpp diff --git a/features/mbedtls/src/.gitignore b/connectivity/mbedtls/source/.gitignore similarity index 100% rename from features/mbedtls/src/.gitignore rename to connectivity/mbedtls/source/.gitignore diff --git a/features/mbedtls/src/Makefile b/connectivity/mbedtls/source/Makefile similarity index 100% rename from features/mbedtls/src/Makefile rename to connectivity/mbedtls/source/Makefile diff --git a/features/mbedtls/src/aes.c b/connectivity/mbedtls/source/aes.c similarity index 100% rename from features/mbedtls/src/aes.c rename to connectivity/mbedtls/source/aes.c diff --git a/features/mbedtls/src/aesni.c b/connectivity/mbedtls/source/aesni.c similarity index 100% rename from features/mbedtls/src/aesni.c rename to connectivity/mbedtls/source/aesni.c diff --git a/features/mbedtls/src/arc4.c b/connectivity/mbedtls/source/arc4.c similarity index 100% rename from features/mbedtls/src/arc4.c rename to connectivity/mbedtls/source/arc4.c diff --git a/features/mbedtls/src/aria.c b/connectivity/mbedtls/source/aria.c similarity index 100% rename from features/mbedtls/src/aria.c rename to connectivity/mbedtls/source/aria.c diff --git a/features/mbedtls/src/asn1parse.c b/connectivity/mbedtls/source/asn1parse.c similarity index 100% rename from features/mbedtls/src/asn1parse.c rename to connectivity/mbedtls/source/asn1parse.c diff --git a/features/mbedtls/src/asn1write.c b/connectivity/mbedtls/source/asn1write.c similarity index 100% rename from features/mbedtls/src/asn1write.c rename to connectivity/mbedtls/source/asn1write.c diff --git a/features/mbedtls/src/base64.c b/connectivity/mbedtls/source/base64.c similarity index 100% rename from features/mbedtls/src/base64.c rename to connectivity/mbedtls/source/base64.c diff --git a/features/mbedtls/src/bignum.c b/connectivity/mbedtls/source/bignum.c similarity index 100% rename from features/mbedtls/src/bignum.c rename to connectivity/mbedtls/source/bignum.c diff --git a/features/mbedtls/src/blowfish.c b/connectivity/mbedtls/source/blowfish.c similarity index 100% rename from features/mbedtls/src/blowfish.c rename to connectivity/mbedtls/source/blowfish.c diff --git a/features/mbedtls/src/camellia.c b/connectivity/mbedtls/source/camellia.c similarity index 100% rename from features/mbedtls/src/camellia.c rename to connectivity/mbedtls/source/camellia.c diff --git a/features/mbedtls/src/ccm.c b/connectivity/mbedtls/source/ccm.c similarity index 100% rename from features/mbedtls/src/ccm.c rename to connectivity/mbedtls/source/ccm.c diff --git a/features/mbedtls/src/certs.c b/connectivity/mbedtls/source/certs.c similarity index 100% rename from features/mbedtls/src/certs.c rename to connectivity/mbedtls/source/certs.c diff --git a/features/mbedtls/src/chacha20.c b/connectivity/mbedtls/source/chacha20.c similarity index 100% rename from features/mbedtls/src/chacha20.c rename to connectivity/mbedtls/source/chacha20.c diff --git a/features/mbedtls/src/chachapoly.c b/connectivity/mbedtls/source/chachapoly.c similarity index 100% rename from features/mbedtls/src/chachapoly.c rename to connectivity/mbedtls/source/chachapoly.c diff --git a/features/mbedtls/src/cipher.c b/connectivity/mbedtls/source/cipher.c similarity index 100% rename from features/mbedtls/src/cipher.c rename to connectivity/mbedtls/source/cipher.c diff --git a/features/mbedtls/src/cipher_wrap.c b/connectivity/mbedtls/source/cipher_wrap.c similarity index 100% rename from features/mbedtls/src/cipher_wrap.c rename to connectivity/mbedtls/source/cipher_wrap.c diff --git a/features/mbedtls/src/cmac.c b/connectivity/mbedtls/source/cmac.c similarity index 100% rename from features/mbedtls/src/cmac.c rename to connectivity/mbedtls/source/cmac.c diff --git a/features/mbedtls/src/ctr_drbg.c b/connectivity/mbedtls/source/ctr_drbg.c similarity index 100% rename from features/mbedtls/src/ctr_drbg.c rename to connectivity/mbedtls/source/ctr_drbg.c diff --git a/features/mbedtls/src/debug.c b/connectivity/mbedtls/source/debug.c similarity index 100% rename from features/mbedtls/src/debug.c rename to connectivity/mbedtls/source/debug.c diff --git a/features/mbedtls/src/des.c b/connectivity/mbedtls/source/des.c similarity index 100% rename from features/mbedtls/src/des.c rename to connectivity/mbedtls/source/des.c diff --git a/features/mbedtls/src/dhm.c b/connectivity/mbedtls/source/dhm.c similarity index 100% rename from features/mbedtls/src/dhm.c rename to connectivity/mbedtls/source/dhm.c diff --git a/features/mbedtls/src/ecdh.c b/connectivity/mbedtls/source/ecdh.c similarity index 100% rename from features/mbedtls/src/ecdh.c rename to connectivity/mbedtls/source/ecdh.c diff --git a/features/mbedtls/src/ecdsa.c b/connectivity/mbedtls/source/ecdsa.c similarity index 100% rename from features/mbedtls/src/ecdsa.c rename to connectivity/mbedtls/source/ecdsa.c diff --git a/features/mbedtls/src/ecjpake.c b/connectivity/mbedtls/source/ecjpake.c similarity index 100% rename from features/mbedtls/src/ecjpake.c rename to connectivity/mbedtls/source/ecjpake.c diff --git a/features/mbedtls/src/ecp.c b/connectivity/mbedtls/source/ecp.c similarity index 100% rename from features/mbedtls/src/ecp.c rename to connectivity/mbedtls/source/ecp.c diff --git a/features/mbedtls/src/ecp_curves.c b/connectivity/mbedtls/source/ecp_curves.c similarity index 100% rename from features/mbedtls/src/ecp_curves.c rename to connectivity/mbedtls/source/ecp_curves.c diff --git a/features/mbedtls/src/entropy.c b/connectivity/mbedtls/source/entropy.c similarity index 100% rename from features/mbedtls/src/entropy.c rename to connectivity/mbedtls/source/entropy.c diff --git a/features/mbedtls/src/entropy_poll.c b/connectivity/mbedtls/source/entropy_poll.c similarity index 100% rename from features/mbedtls/src/entropy_poll.c rename to connectivity/mbedtls/source/entropy_poll.c diff --git a/features/mbedtls/src/error.c b/connectivity/mbedtls/source/error.c similarity index 100% rename from features/mbedtls/src/error.c rename to connectivity/mbedtls/source/error.c diff --git a/features/mbedtls/src/gcm.c b/connectivity/mbedtls/source/gcm.c similarity index 100% rename from features/mbedtls/src/gcm.c rename to connectivity/mbedtls/source/gcm.c diff --git a/features/mbedtls/targets/hash_wrappers.c b/connectivity/mbedtls/source/hash_wrappers.c similarity index 100% rename from features/mbedtls/targets/hash_wrappers.c rename to connectivity/mbedtls/source/hash_wrappers.c diff --git a/features/mbedtls/src/havege.c b/connectivity/mbedtls/source/havege.c similarity index 100% rename from features/mbedtls/src/havege.c rename to connectivity/mbedtls/source/havege.c diff --git a/features/mbedtls/src/hkdf.c b/connectivity/mbedtls/source/hkdf.c similarity index 100% rename from features/mbedtls/src/hkdf.c rename to connectivity/mbedtls/source/hkdf.c diff --git a/features/mbedtls/src/hmac_drbg.c b/connectivity/mbedtls/source/hmac_drbg.c similarity index 100% rename from features/mbedtls/src/hmac_drbg.c rename to connectivity/mbedtls/source/hmac_drbg.c diff --git a/features/mbedtls/src/md.c b/connectivity/mbedtls/source/md.c similarity index 100% rename from features/mbedtls/src/md.c rename to connectivity/mbedtls/source/md.c diff --git a/features/mbedtls/src/md2.c b/connectivity/mbedtls/source/md2.c similarity index 100% rename from features/mbedtls/src/md2.c rename to connectivity/mbedtls/source/md2.c diff --git a/features/mbedtls/src/md4.c b/connectivity/mbedtls/source/md4.c similarity index 100% rename from features/mbedtls/src/md4.c rename to connectivity/mbedtls/source/md4.c diff --git a/features/mbedtls/src/md5.c b/connectivity/mbedtls/source/md5.c similarity index 100% rename from features/mbedtls/src/md5.c rename to connectivity/mbedtls/source/md5.c diff --git a/features/mbedtls/src/memory_buffer_alloc.c b/connectivity/mbedtls/source/memory_buffer_alloc.c similarity index 100% rename from features/mbedtls/src/memory_buffer_alloc.c rename to connectivity/mbedtls/source/memory_buffer_alloc.c diff --git a/features/mbedtls/src/net_sockets.c b/connectivity/mbedtls/source/net_sockets.c similarity index 100% rename from features/mbedtls/src/net_sockets.c rename to connectivity/mbedtls/source/net_sockets.c diff --git a/features/mbedtls/src/nist_kw.c b/connectivity/mbedtls/source/nist_kw.c similarity index 100% rename from features/mbedtls/src/nist_kw.c rename to connectivity/mbedtls/source/nist_kw.c diff --git a/features/mbedtls/src/oid.c b/connectivity/mbedtls/source/oid.c similarity index 100% rename from features/mbedtls/src/oid.c rename to connectivity/mbedtls/source/oid.c diff --git a/features/mbedtls/src/padlock.c b/connectivity/mbedtls/source/padlock.c similarity index 100% rename from features/mbedtls/src/padlock.c rename to connectivity/mbedtls/source/padlock.c diff --git a/features/mbedtls/src/pem.c b/connectivity/mbedtls/source/pem.c similarity index 100% rename from features/mbedtls/src/pem.c rename to connectivity/mbedtls/source/pem.c diff --git a/features/mbedtls/src/pk.c b/connectivity/mbedtls/source/pk.c similarity index 100% rename from features/mbedtls/src/pk.c rename to connectivity/mbedtls/source/pk.c diff --git a/features/mbedtls/src/pk_wrap.c b/connectivity/mbedtls/source/pk_wrap.c similarity index 100% rename from features/mbedtls/src/pk_wrap.c rename to connectivity/mbedtls/source/pk_wrap.c diff --git a/features/mbedtls/src/pkcs11.c b/connectivity/mbedtls/source/pkcs11.c similarity index 100% rename from features/mbedtls/src/pkcs11.c rename to connectivity/mbedtls/source/pkcs11.c diff --git a/features/mbedtls/src/pkcs12.c b/connectivity/mbedtls/source/pkcs12.c similarity index 100% rename from features/mbedtls/src/pkcs12.c rename to connectivity/mbedtls/source/pkcs12.c diff --git a/features/mbedtls/src/pkcs5.c b/connectivity/mbedtls/source/pkcs5.c similarity index 100% rename from features/mbedtls/src/pkcs5.c rename to connectivity/mbedtls/source/pkcs5.c diff --git a/features/mbedtls/src/pkparse.c b/connectivity/mbedtls/source/pkparse.c similarity index 100% rename from features/mbedtls/src/pkparse.c rename to connectivity/mbedtls/source/pkparse.c diff --git a/features/mbedtls/src/pkwrite.c b/connectivity/mbedtls/source/pkwrite.c similarity index 100% rename from features/mbedtls/src/pkwrite.c rename to connectivity/mbedtls/source/pkwrite.c diff --git a/features/mbedtls/src/platform.c b/connectivity/mbedtls/source/platform.c similarity index 100% rename from features/mbedtls/src/platform.c rename to connectivity/mbedtls/source/platform.c diff --git a/features/mbedtls/src/platform_util.c b/connectivity/mbedtls/source/platform_util.c similarity index 100% rename from features/mbedtls/src/platform_util.c rename to connectivity/mbedtls/source/platform_util.c diff --git a/features/mbedtls/src/poly1305.c b/connectivity/mbedtls/source/poly1305.c similarity index 100% rename from features/mbedtls/src/poly1305.c rename to connectivity/mbedtls/source/poly1305.c diff --git a/features/mbedtls/src/ripemd160.c b/connectivity/mbedtls/source/ripemd160.c similarity index 100% rename from features/mbedtls/src/ripemd160.c rename to connectivity/mbedtls/source/ripemd160.c diff --git a/features/mbedtls/src/rsa.c b/connectivity/mbedtls/source/rsa.c similarity index 100% rename from features/mbedtls/src/rsa.c rename to connectivity/mbedtls/source/rsa.c diff --git a/features/mbedtls/src/rsa_internal.c b/connectivity/mbedtls/source/rsa_internal.c similarity index 100% rename from features/mbedtls/src/rsa_internal.c rename to connectivity/mbedtls/source/rsa_internal.c diff --git a/features/mbedtls/src/sha1.c b/connectivity/mbedtls/source/sha1.c similarity index 100% rename from features/mbedtls/src/sha1.c rename to connectivity/mbedtls/source/sha1.c diff --git a/features/mbedtls/src/sha256.c b/connectivity/mbedtls/source/sha256.c similarity index 100% rename from features/mbedtls/src/sha256.c rename to connectivity/mbedtls/source/sha256.c diff --git a/features/mbedtls/src/sha512.c b/connectivity/mbedtls/source/sha512.c similarity index 100% rename from features/mbedtls/src/sha512.c rename to connectivity/mbedtls/source/sha512.c diff --git a/features/mbedtls/src/ssl_cache.c b/connectivity/mbedtls/source/ssl_cache.c similarity index 100% rename from features/mbedtls/src/ssl_cache.c rename to connectivity/mbedtls/source/ssl_cache.c diff --git a/features/mbedtls/src/ssl_ciphersuites.c b/connectivity/mbedtls/source/ssl_ciphersuites.c similarity index 100% rename from features/mbedtls/src/ssl_ciphersuites.c rename to connectivity/mbedtls/source/ssl_ciphersuites.c diff --git a/features/mbedtls/src/ssl_cli.c b/connectivity/mbedtls/source/ssl_cli.c similarity index 100% rename from features/mbedtls/src/ssl_cli.c rename to connectivity/mbedtls/source/ssl_cli.c diff --git a/features/mbedtls/src/ssl_cookie.c b/connectivity/mbedtls/source/ssl_cookie.c similarity index 100% rename from features/mbedtls/src/ssl_cookie.c rename to connectivity/mbedtls/source/ssl_cookie.c diff --git a/features/mbedtls/src/ssl_msg.c b/connectivity/mbedtls/source/ssl_msg.c similarity index 100% rename from features/mbedtls/src/ssl_msg.c rename to connectivity/mbedtls/source/ssl_msg.c diff --git a/features/mbedtls/src/ssl_srv.c b/connectivity/mbedtls/source/ssl_srv.c similarity index 100% rename from features/mbedtls/src/ssl_srv.c rename to connectivity/mbedtls/source/ssl_srv.c diff --git a/features/mbedtls/src/ssl_ticket.c b/connectivity/mbedtls/source/ssl_ticket.c similarity index 100% rename from features/mbedtls/src/ssl_ticket.c rename to connectivity/mbedtls/source/ssl_ticket.c diff --git a/features/mbedtls/src/ssl_tls.c b/connectivity/mbedtls/source/ssl_tls.c similarity index 100% rename from features/mbedtls/src/ssl_tls.c rename to connectivity/mbedtls/source/ssl_tls.c diff --git a/features/mbedtls/src/threading.c b/connectivity/mbedtls/source/threading.c similarity index 100% rename from features/mbedtls/src/threading.c rename to connectivity/mbedtls/source/threading.c diff --git a/features/mbedtls/src/timing.c b/connectivity/mbedtls/source/timing.c similarity index 100% rename from features/mbedtls/src/timing.c rename to connectivity/mbedtls/source/timing.c diff --git a/features/mbedtls/src/version.c b/connectivity/mbedtls/source/version.c similarity index 100% rename from features/mbedtls/src/version.c rename to connectivity/mbedtls/source/version.c diff --git a/features/mbedtls/src/version_features.c b/connectivity/mbedtls/source/version_features.c similarity index 100% rename from features/mbedtls/src/version_features.c rename to connectivity/mbedtls/source/version_features.c diff --git a/features/mbedtls/src/x509.c b/connectivity/mbedtls/source/x509.c similarity index 100% rename from features/mbedtls/src/x509.c rename to connectivity/mbedtls/source/x509.c diff --git a/features/mbedtls/src/x509_create.c b/connectivity/mbedtls/source/x509_create.c similarity index 100% rename from features/mbedtls/src/x509_create.c rename to connectivity/mbedtls/source/x509_create.c diff --git a/features/mbedtls/src/x509_crl.c b/connectivity/mbedtls/source/x509_crl.c similarity index 100% rename from features/mbedtls/src/x509_crl.c rename to connectivity/mbedtls/source/x509_crl.c diff --git a/features/mbedtls/src/x509_crt.c b/connectivity/mbedtls/source/x509_crt.c similarity index 100% rename from features/mbedtls/src/x509_crt.c rename to connectivity/mbedtls/source/x509_crt.c diff --git a/features/mbedtls/src/x509_csr.c b/connectivity/mbedtls/source/x509_csr.c similarity index 100% rename from features/mbedtls/src/x509_csr.c rename to connectivity/mbedtls/source/x509_csr.c diff --git a/features/mbedtls/src/x509write_crt.c b/connectivity/mbedtls/source/x509write_crt.c similarity index 100% rename from features/mbedtls/src/x509write_crt.c rename to connectivity/mbedtls/source/x509write_crt.c diff --git a/features/mbedtls/src/x509write_csr.c b/connectivity/mbedtls/source/x509write_csr.c similarity index 100% rename from features/mbedtls/src/x509write_csr.c rename to connectivity/mbedtls/source/x509write_csr.c diff --git a/features/mbedtls/src/xtea.c b/connectivity/mbedtls/source/xtea.c similarity index 100% rename from features/mbedtls/src/xtea.c rename to connectivity/mbedtls/source/xtea.c diff --git a/TESTS/mbedtls/multi/main.cpp b/connectivity/mbedtls/tests/TESTS/mbedtls/multi/main.cpp similarity index 100% rename from TESTS/mbedtls/multi/main.cpp rename to connectivity/mbedtls/tests/TESTS/mbedtls/multi/main.cpp diff --git a/TESTS/mbedtls/sanity/main.cpp b/connectivity/mbedtls/tests/TESTS/mbedtls/sanity/main.cpp similarity index 100% rename from TESTS/mbedtls/sanity/main.cpp rename to connectivity/mbedtls/tests/TESTS/mbedtls/sanity/main.cpp diff --git a/TESTS/mbedtls/selftest/main.cpp b/connectivity/mbedtls/tests/TESTS/mbedtls/selftest/main.cpp similarity index 100% rename from TESTS/mbedtls/selftest/main.cpp rename to connectivity/mbedtls/tests/TESTS/mbedtls/selftest/main.cpp diff --git a/features/mbedtls/importer/Makefile b/connectivity/mbedtls/tools/importer/Makefile similarity index 100% rename from features/mbedtls/importer/Makefile rename to connectivity/mbedtls/tools/importer/Makefile diff --git a/features/mbedtls/importer/TARGET_IGNORE/.gitignore b/connectivity/mbedtls/tools/importer/TARGET_IGNORE/.gitignore similarity index 100% rename from features/mbedtls/importer/TARGET_IGNORE/.gitignore rename to connectivity/mbedtls/tools/importer/TARGET_IGNORE/.gitignore diff --git a/features/mbedtls/importer/adjust-check-config.sh b/connectivity/mbedtls/tools/importer/adjust-check-config.sh similarity index 100% rename from features/mbedtls/importer/adjust-check-config.sh rename to connectivity/mbedtls/tools/importer/adjust-check-config.sh diff --git a/features/mbedtls/importer/adjust-config.sh b/connectivity/mbedtls/tools/importer/adjust-config.sh similarity index 100% rename from features/mbedtls/importer/adjust-config.sh rename to connectivity/mbedtls/tools/importer/adjust-config.sh diff --git a/features/mbedtls/importer/adjust-no-entropy-config.sh b/connectivity/mbedtls/tools/importer/adjust-no-entropy-config.sh similarity index 100% rename from features/mbedtls/importer/adjust-no-entropy-config.sh rename to connectivity/mbedtls/tools/importer/adjust-no-entropy-config.sh diff --git a/doxyfile_options b/doxyfile_options index 80155aa13b2..24132312211 100644 --- a/doxyfile_options +++ b/doxyfile_options @@ -843,7 +843,7 @@ EXCLUDE_PATTERNS = */tools/* \ */cmsis/* \ */connectivity/drivers/emac/* \ */features/cryptocell/* \ - */features/mbedtls/* \ + */connectivity/mbedtls/* \ */features/unsupported/* \ */connectivity/lwipstack/* \ */connectivity/nanostack/sal-stack-nanostack/* \ diff --git a/doxygen_options.json b/doxygen_options.json index 7f6c17f4e09..178689d5ce8 100644 --- a/doxygen_options.json +++ b/doxygen_options.json @@ -10,7 +10,7 @@ "EXPAND_AS_DEFINED": "", "SKIP_FUNCTION_MACROS": "NO", "STRIP_CODE_COMMENTS": "NO", - "EXCLUDE_PATTERNS": "*/tools/* */targets/* */features/mbedtls/* */features/unsupported/* */BUILD/* */rtos/TARGET_CORTEX/rtx*/* */cmsis/* */features/lwipstack/* */nanostack/sal-stack-nanostack/* */nanostack/coap-service/* */ble/generic/* */ble/pal/* */mbed-trace/* */mbed-coap/* */nanostack-libservice/* */mbed-client-randlib/* */nanostack/sal-stack-nanostack-eventloop/* */connectivity/drivers/802.15.4_RF/* */components/wifi/* */features/nfc/stack/* */UNITTESTS/* */features/cryptocell/*", + "EXCLUDE_PATTERNS": "*/tools/* */targets/* */connectivity/mbedtls/* */features/unsupported/* */BUILD/* */rtos/TARGET_CORTEX/rtx*/* */cmsis/* */features/lwipstack/* */nanostack/sal-stack-nanostack/* */nanostack/coap-service/* */ble/generic/* */ble/pal/* */mbed-trace/* */mbed-coap/* */nanostack-libservice/* */mbed-client-randlib/* */nanostack/sal-stack-nanostack-eventloop/* */connectivity/drivers/802.15.4_RF/* */components/wifi/* */features/nfc/stack/* */UNITTESTS/* */features/cryptocell/*", "ALPHABETICAL_INDEX": "NO", "CASE_SENSE_NAMES": "NO", "DOT_MULTI_TARGETS": "YES",