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: Remove random_ext.c #11741

Merged
merged 2 commits into from
Jul 13, 2023
Merged

Conversation

Vge0rge
Copy link
Contributor

@Vge0rge Vge0rge commented Jul 7, 2023

Remove the random_ext.c file and the MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG option since it is not used anymore by the Oberon PSA core.

With the current configuration the options:
PSA_CRYPTO_DRIVER_ALG_CTR_DRBG_*

are used to specifiy the random number generator algorithm.

Ref: NCSDK-21868

Signed-off-by: Georgios Vasilakis georgios.vasilakis@nordicsemi.no

@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Jul 7, 2023
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jul 7, 2023

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-fw-nrfconnect-chip X
test-fw-nrfconnect-nrf_crypto X
test-fw-nrfconnect-tfm X
test-fw-nrfconnect-thread X
test-sdk-homekit X

Detailed information of selected test modules

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

Copy link
Contributor

@vili-nordic vili-nordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@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.

@Vge0rge Vge0rge force-pushed the remove_random_ext branch 2 times, most recently from d07cb9f to c5ce3b2 Compare July 7, 2023 14:05
@Vge0rge Vge0rge force-pushed the remove_random_ext branch 3 times, most recently from c4bc656 to c483255 Compare July 10, 2023 12:43
@Vge0rge Vge0rge force-pushed the remove_random_ext branch 4 times, most recently from e680730 to 7adce69 Compare July 12, 2023 14:34
Remove the random_ext.c file and the MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG
option since it is not used anymore by the Oberon PSA core.

With the current configuration the options:
PSA_CRYPTO_DRIVER_ALG_CTR_DRBG_*

are used to specifiy the random number generator algorithm.

Ref: NCSDK-21868

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
The crypto tests only use the external_rng function
and they only test for one configuration where
MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG is enabled.
This removes the unused code and configurations.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
@nordicjm nordicjm merged commit 341e79e into nrfconnect:main Jul 13, 2023
16 checks passed
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants