Commit 7fc55e2
committed
[crypto] Do not use otPlatCAlloc and otPlatFree directly in mbedtls
This commit changes the default configuration of heap memory in mbedtls
when OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE is enabled.
This is necessary to pass the unit tests which keep track of heap memory
with crypto backend that allocates memory during the test.
Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no>1 parent 356ff34 commit 7fc55e2
File tree
2 files changed
+4
-4
lines changed- src/core/crypto
- third_party/mbedtls
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments