-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subsys nrf_security: add nrf92 devices to security and cracen config #19558
subsys nrf_security: add nrf92 devices to security and cracen config #19558
Conversation
478babb
to
b9062a2
Compare
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 410e31d606e8733399a82a85da667e8556123541 more detailssdk-nrf:
Github labels
List of changed files detected by CI (3)
Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publish GitHub Action. |
b9062a2
to
02cd81a
Compare
02cd81a
to
da33b03
Compare
@@ -5,7 +5,7 @@ | |||
# | |||
|
|||
service_name = PSA_CRYPTO | |||
service_default_enabled = n | |||
service_default_enabled = y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be removed as it is not part of this PR changes, I will add it to this one #19561 as it relies on PSA_CRYPTO services to perform the signing of Json Web Tokens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jonathannilsen is it possible to activate this flag for an sdk-nrf sample using the prj.conf file ?
you are right about activating this by default actually doesn't make sense.
@@ -5,7 +5,7 @@ | |||
# | |||
|
|||
config CRACEN_HW_PRESENT | |||
def_bool SOC_SERIES_NRF54LX | |||
def_bool (SOC_SERIES_NRF54LX || SOC_SERIES_NRF92X) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This addition should not be needed I think - it should already be selected by the board
depends on SOC_NRF54H20_CPUSEC || \ | ||
SOC_NRF9280_CPUSEC || \ | ||
SOC_NRF9230_CPUSEC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be sufficient:
depends on SOC_NRF54H20_CPUSEC || \ | |
SOC_NRF9280_CPUSEC || \ | |
SOC_NRF9230_CPUSEC | |
depends on SOC_NRF54H20_CPUSEC || SOC_NRF9280_CPUSEC |
depends on (SOC_SERIES_NRF54LX && !SOC_NRF54L20) || SOC_SERIES_NRF54HX || \ | ||
(SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_CPUSEC)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would think that this is sufficient:
depends on (SOC_SERIES_NRF54LX && !SOC_NRF54L20) || SOC_SERIES_NRF54HX || \ | |
(SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_CPUSEC)) | |
depends on (SOC_SERIES_NRF54LX && !SOC_NRF54L20) || SOC_SERIES_NRF54HX || \ | |
SOC_SERIES_NRF92X |
subsys/nrf_security/Kconfig
Outdated
@@ -58,6 +58,7 @@ if NRF_SECURITY | |||
|
|||
config MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS | |||
bool | |||
default y if SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_CPUSEC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default y if SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_CPUSEC) | |
default y if SOC_NRF9280_CPUSEC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CPUSEC should not be referenced in this repo at all
da33b03
to
f0ad7cd
Compare
@@ -35,7 +35,7 @@ config NRF_SECURITY | |||
depends on SOC_FAMILY_NORDIC_NRF | |||
default y if BUILD_WITH_TFM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git commit title should have : not ,
subsys/nrf_security/Kconfig
Outdated
@@ -58,6 +58,7 @@ if NRF_SECURITY | |||
|
|||
config MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS | |||
bool | |||
default y if SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_CPUSEC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CPUSEC should not be referenced in this repo at all
depends on SOC_NRF54H20_CPUSEC | ||
depends on SOC_NRF54H20_CPUSEC || \ | ||
SOC_NRF9280_CPUSEC || \ | ||
SOC_NRF9230_CPUSEC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as above, no mention to CPUSEC
f0ad7cd
to
8de8238
Compare
Ref: NRFX-6678 Signed-off-by: Aymen LAOUINI <[email protected]>
8de8238
to
410e31d
Compare
This pull request is obsolete, the features it aimed to add has been already covered by other pull requests |
These changes aim to allow using cracen cryptographic features on nrf92 devices.
These changes are required to allow accessing built-in keys using psa over cracen driver.