Skip to content

Commit

Permalink
[crypto] Changed mbedTLS API calls to fit 3.0.0 version. (project-chi…
Browse files Browse the repository at this point in the history
…p#13208)

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 step0035 committed Feb 8, 2022
1 parent 981ae71 commit f7181c0
Showing 1 changed file with 115 additions and 45 deletions.
Loading

0 comments on commit f7181c0

Please sign in to comment.