Commit 3a4c9e4
[nrf fromtree dirty] Crypto: Allow turning off MBEDTLS_MEMORY_BUFFER_ALLOC_C
This commit disables initialization of Mbed TLS heap in the
crypto library when MBEDTLS_MEMORY_BUFFER_ALLOC_C is not enabled.
Before this commit Mbed TLS heap was always required.
Note that this cherry-pick is not clean as the code is changed
from TF-M 2.2 to main (2.3) around logging. This fromlist
is taken from a commit to main.
Change-Id: Id6f3fc4dee2c2512ba8bcd346b38bac69b890a73
Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
(cherry picked from commit 3776100)1 parent 471f3b5 commit 3a4c9e4
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
| 97 | + | |
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| 101 | + | |
97 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
| |||
0 commit comments