Commit a185ede
nrf_security: Forbid multiple ways to invalidate PROT_RAM slots
This makes sure that when
SB_CONFIG_CRACEN_KMU_INVALIDATE_PROTECTED_RAM_SLOTS
is enabled none of the other options meant to do the same thing are
enabled:
CRACEN_PROVISION_PROT_RAM_INV_SLOTS_ON_INIT
CRACEN_PROVISION_PROT_RAM_INV_SLOTS_WITH_IMPORT
This is done to avoid misconfigurations.
In order to do that I had to create a separate helper symbol since
the sysbuild symbol cannot be directly added as a dependency in the
application image build.
Also I moved the sysbuild logic in the pre_cmake section because
in post_cmake it is too late to set Kconfig options, they are already
parsed at that point.
Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>1 parent 6be8a7d commit a185ede
4 files changed
Lines changed: 33 additions & 6 deletions
File tree
- doc/nrf/releases_and_maturity/releases
- subsys/nrf_security/src/drivers/cracen
- sysbuild
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
77 | 89 | | |
78 | 90 | | |
79 | 91 | | |
| |||
96 | 108 | | |
97 | 109 | | |
98 | 110 | | |
| 111 | + | |
| 112 | + | |
99 | 113 | | |
100 | 114 | | |
101 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
1019 | 1032 | | |
1020 | 1033 | | |
1021 | 1034 | | |
| |||
1085 | 1098 | | |
1086 | 1099 | | |
1087 | 1100 | | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | 1101 | | |
1093 | 1102 | | |
1094 | 1103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments