Commit 689b35b
committed
[nrf noup] mbedtls: Separate psa_crypto_init in its own SYS_INIT
-This commit adds psa_init.c that contains a SYS_INIT to enforce
early initialization of PSA crypto by calling psa_crypto_init() in
PRE_KERNEL_1, before any other users (include entropy_psa_crypto).
-This is separated from CONFIG_MBEDTLS_INIT which has a SYS_INIT that
happens in POST_KERNEL and include initializing the Mbed TLS heap
if this is enabled.
-Removing unneeded doxygen @file entry for zephyr_init.c
Signed-off-by: Frank Audun Kvamtrø <[email protected]>
(Cherry-picked from commit ac42511fca09aa45e85600bc63e17b62f075c046)1 parent 7c128f9 commit 689b35b
3 files changed
+27
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 1 | | |
8 | 2 | | |
9 | 3 | | |
| |||
53 | 47 | | |
54 | 48 | | |
55 | 49 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 50 | | |
63 | 51 | | |
64 | 52 | | |
| |||
0 commit comments