Skip to content

Update c-utility to pick up mbedTLS 4.x support - #142

Merged
Ewerton Scaboro da Silva (ewertons) merged 1 commit into
masterfrom
ewertons/mbedtls-4x-support
Aug 25, 2026
Merged

Update c-utility to pick up mbedTLS 4.x support#142
Ewerton Scaboro da Silva (ewertons) merged 1 commit into
masterfrom
ewertons/mbedtls-4x-support

Conversation

@ewertons

@ewertons Ewerton Scaboro da Silva (ewertons) commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Updates the azure-c-shared-utility submodule to the commit adding mbedTLS 4.x support.

mbedTLS 3.6 LTS reaches end of life in March 2027. mbedTLS 4.0 moved cryptography into TF-PSA-Crypto and removed the public entropy/CTR_DRBG modules, mbedtls_ssl_conf_rng() and mbedtls_ssl_conf_min_version(), dropped the f_rng/p_rng parameters of mbedtls_pk_parse_key(), made mbedtls_pk_get_type() private, and requires psa_crypto_init() before any cryptographic operation. The adapter fix is Azure/azure-c-shared-utility#681.

Submodule pointer only; no source changes here. azure-iot-sdk-c references azure-c-shared-utility in five places and its consistency check requires them to agree, so this repo moves in lockstep with the others.

mbedTLS 3.6 LTS goes EOL in March 2027. mbedTLS 4.0 removed the public
entropy/CTR_DRBG modules, mbedtls_ssl_conf_rng() and
mbedtls_ssl_conf_min_version(), and requires psa_crypto_init() before
any cryptographic operation. c-utility's mbedTLS adapters guard those
call sites on MBEDTLS_VERSION_NUMBER.

Points at azure-c-shared-utility master (262123bc), the merge commit of
Azure/azure-c-shared-utility#681.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ewerton Scaboro da Silva (ewertons) added a commit to Azure/azure-iot-sdk-c that referenced this pull request Aug 24, 2026
mbedTLS 3.6 LTS goes EOL in March 2027 and mbedTLS 4.x is now the
supported line. Rolls every azure-c-shared-utility reference forward to
the commit carrying the mbedTLS 4.x adapter support, following the shape
of #2662 which added mbedTLS 3.x support.

The submodule consistency check requires all five references to the same
repository to agree, so the four dependencies that embed c-utility are
bumped together with the direct reference:

  c-utility                      -> azure-c-shared-utility master (262123bc)
  uamqp                          (deps/azure-c-shared-utility)
  umqtt                          (deps/c-utility)
  deps/uhttp                     (deps/c-utility)
  provisioning_client/deps/utpm  (deps/c-utility)

c-utility points at merged master. The four dependency pointers are
still branch commits pending Azure/azure-uamqp-c#482,
Azure/azure-umqtt-c#176, Azure/azure-uhttp-c#142 and
Azure/azure-utpm-c#137; each must be re-pointed at its merged master
commit before this is merged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ewertons

Copy link
Copy Markdown
Contributor Author

Re-pointed at azure-c-shared-utility masterAzure/azure-c-shared-utility#681 merged as 262123bc, so this no longer references a branch commit. The earlier Check Submodules Match failure ("submodule is 4 commits ahead of master") should now clear.

Ready to come out of draft once CI confirms.

@ewertons
Ewerton Scaboro da Silva (ewertons) marked this pull request as ready for review August 24, 2026 21:56
@ewertons
Ewerton Scaboro da Silva (ewertons) merged commit cea2ac6 into master Aug 25, 2026
14 checks passed
@ewertons
Ewerton Scaboro da Silva (ewertons) deleted the ewertons/mbedtls-4x-support branch August 25, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants