Skip to content

Commit

Permalink
[crypto] Changed mbedTLS API calls to fit 3.0.0 version. (#13208)
Browse files Browse the repository at this point in the history
In mbedTLS 3.0.0 there are some API changes comparing to previous
versions that require aligning Matter source code calling this API.
This change is a first step for future mbedTLS 3.0.0 support,
so contains only API calls changes, no version update or building
configuration done.

Added ifdefs checking mbedTLS version and changing:
* mbedtls_*_ret() calls to mbedtls_*()
* direct mbedtls structure's fields accessing to using
MBEDTLS_PRIVATE() macro (no getters API available for now)
  • Loading branch information
kkasperczyk-no authored and pull[bot] committed Jan 4, 2022
1 parent caece0e commit 8a80262
Showing 1 changed file with 115 additions and 45 deletions.
Loading

0 comments on commit 8a80262

Please sign in to comment.