Commit 74ba0ac
committed
nrf_security: remove mbedtls/platform.h
We have been duplicating this file from Mbed TLS, and I don't like
duplication.
Instead define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS when building
the crypto library so that it doesn't link against problematic
libc functions.
If it turns out to be too much then we can individually replace
the calloc and free functions with the appropriate macros.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>1 parent 9c545e6 commit 74ba0ac
4 files changed
Lines changed: 6 additions & 398 deletions
File tree
- subsys/nrf_security
- cmake
- configs
- include/mbedtls
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments