Skip to content
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

nrf_security: Changes for Oberon PSA configurations in Kconfig #12125

Merged
merged 10 commits into from
Aug 25, 2023

Conversation

joerchan
Copy link
Contributor

No description provided.

@github-actions github-actions bot added changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. manifest labels Aug 23, 2023
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Aug 23, 2023

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@582837b nrfconnect/sdk-zephyr@0b32fd2 (main) nrfconnect/sdk-zephyr@582837b2..0b32fd27

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Aug 23, 2023

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
desktop52_verification X
test-ci-nrfconnect-boot-fw-update X
test-fw-nrfconnect-ble X
test-fw-nrfconnect-ble_samples X
test-fw-nrfconnect-chip X
test-fw-nrfconnect-fem X
test-fw-nrfconnect-nfc X
test-fw-nrfconnect-nrf-iot_thingy91 X
test-fw-nrfconnect-nrf_crypto X
test-fw-nrfconnect-rpc X
test-fw-nrfconnect-rs X
test-fw-nrfconnect-tfm X
test-fw-nrfconnect-thread X
test-fw-nrfconnect-zigbee X
test-sdk-find-my X
test-sdk-homekit X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@NordicBuilder
Copy link
Contributor

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 Publishing GitHub Action.

@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label Aug 24, 2023
@joerchan joerchan requested a review from mia-ko August 24, 2023 12:18
joerchan and others added 6 commits August 25, 2023 13:42
Fix configuration of PSA_WANT_ALG_ECDSA_DETERMINISTIC enabled without
PSA_WANT_ALG_ECDSA for the Oberon driver.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Bring Zephyr with added PSA_WANT options only
available in the Oberon PSA core.
The Oberon PSA core uses the name PSA_WANT_ALG_SRP_6,
this aligns nrf_security with this naming.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
Update the psa_tls sample to follow the new configuration scheme
from Oberon PSA core.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
1024 bit RSA keys are not recommended to use because they
considered unsafe. Change the sample to use 2048 bit keys.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
The builtin crypto implementation, which is the software
implementation of PSA crypto APIs from mbedTLS is not
supported anymore. Only the Oberon PSA API implementation
exists right now as a software implementation, and there
are also the crypto accelerator implementation.

Remove the unused builtin PSA implementation configuration
in the tests.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
When we built with TF-M in non minimal builts we
we required HKDF which is only supported by Oberon.
So in configuration we don't allow Oberon to be disabled,
this updates all the samples so that they don't allow to
disable the Oberon PSA driver in TF-M builds.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
Vge0rge and others added 4 commits August 25, 2023 13:42
Enable ECDSA and the R1 256 bit curve for the
identity key sample since the samples imports
a key pair of that type.

This change is needed because of the new Oberon
PSA configuration system.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
Removes unused PSA configs for the TF-M regressions tests.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
Remove unused configs.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
We're using SRP_6 as configuration option, so we should specify the
version of SRP in the documentation also.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
@NordicBuilder NordicBuilder removed the DNM label Aug 25, 2023
@nordicjm nordicjm merged commit a6d3022 into nrfconnect:main Aug 25, 2023
29 of 30 checks passed
@joerchan joerchan deleted the oberon_kconfigs_prelude branch August 25, 2023 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval. manifest manifest-zephyr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants