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

Remove MBEDTLS_PSA_CRYPTO_CONFIG configuration option #9771

Merged

Conversation

ronald-cron-arm
Copy link
Contributor

@ronald-cron-arm ronald-cron-arm commented Nov 12, 2024

Description

Fixes #9622

PR checklist

@ronald-cron-arm ronald-cron-arm added enhancement needs-ci Needs to pass CI tests priority-high High priority - will be reviewed soon needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review and removed needs-ci Needs to pass CI tests labels Nov 12, 2024
@minosgalanakis
Copy link
Contributor

Is this PR intended to remove only the configuration options, or the source code that is enabled by it?

Should we consider adjusting the ext configration files?

@ronald-cron-arm
Copy link
Contributor Author

ronald-cron-arm commented Nov 14, 2024

Is this PR intended to remove only the configuration options, or the source code that is enabled by it?

Both.

Should we consider adjusting the ext configration files?

I have on purpose not changed these ones as they are not supposed to be changed, just imported from TF-M project.

Harry-Ramsey
Harry-Ramsey previously approved these changes Nov 14, 2024
Copy link
Contributor

@Harry-Ramsey Harry-Ramsey left a comment

Choose a reason for hiding this comment

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

LGTM

@ronald-cron-arm ronald-cron-arm removed the needs-reviewer This PR needs someone to pick it up for review label Nov 14, 2024
@ronald-cron-arm ronald-cron-arm added needs-ci Needs to pass CI tests and removed needs-review Every commit must be reviewed by at least two team members, labels Nov 15, 2024
minosgalanakis
minosgalanakis previously approved these changes Nov 15, 2024
Copy link
Contributor

@minosgalanakis minosgalanakis left a comment

Choose a reason for hiding this comment

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

LGTM

@ronald-cron-arm
Copy link
Contributor Author

ronald-cron-arm commented Nov 18, 2024

I've updated the last commit to point to the new version of the framework companion PR. I have then rebased on top of development. That way with 9567 rebased on top of this one we have 9567 on top of 9760(merged) and this one.

minosgalanakis
minosgalanakis previously approved these changes Nov 18, 2024
Copy link
Contributor

@minosgalanakis minosgalanakis left a comment

Choose a reason for hiding this comment

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

LGTM ( The Psa-sim failure looks like a CI starvation isssue)

@ronald-cron-arm ronald-cron-arm added needs-review Every commit must be reviewed by at least two team members, and removed needs-ci Needs to pass CI tests labels Nov 18, 2024
@ronald-cron-arm
Copy link
Contributor Author

ronald-cron-arm commented Nov 18, 2024

OpenCI is green. ABI-API-checking failure is due to the fact that now PBKDF2 is enabled by default, which is fine. @Harry-Ramsey please have another look and to the new framework companion PR as well: Mbed-TLS/mbedtls-framework#76.

Harry-Ramsey
Harry-Ramsey previously approved these changes Nov 18, 2024
Copy link
Contributor

@Harry-Ramsey Harry-Ramsey left a comment

Choose a reason for hiding this comment

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

LGTM.

@ronald-cron-arm ronald-cron-arm removed the needs-review Every commit must be reviewed by at least two team members, label Nov 18, 2024
@ronald-cron-arm ronald-cron-arm mentioned this pull request Nov 20, 2024
5 tasks
@ronald-cron-arm ronald-cron-arm force-pushed the remove-psa-crypto-config branch from df7f603 to 8cf623d Compare November 20, 2024 12:42
@ronald-cron-arm ronald-cron-arm added needs-review Every commit must be reviewed by at least two team members, and removed needs-ci Needs to pass CI tests labels Nov 20, 2024
@ronald-cron-arm
Copy link
Contributor Author

@minosgalanakis @Harry-Ramsey On OpenCI only a glitch in an DTLS test, Internal CI green, thus the CI can be considered green. Please have another look to this PR and its companion PRs #9787 and Mbed-TLS/mbedtls-framework#79.

Harry-Ramsey
Harry-Ramsey previously approved these changes Nov 21, 2024
Copy link
Contributor

@Harry-Ramsey Harry-Ramsey left a comment

Choose a reason for hiding this comment

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

LGTM.

minosgalanakis
minosgalanakis previously approved these changes Nov 21, 2024
Copy link
Contributor

@minosgalanakis minosgalanakis left a comment

Choose a reason for hiding this comment

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

LGTM

@ronald-cron-arm ronald-cron-arm force-pushed the remove-psa-crypto-config branch from 8cf623d to 7e56db2 Compare November 21, 2024 12:59
@ronald-cron-arm
Copy link
Contributor Author

Re-running CI to be able to go through the merge queue, OpenCI must be green.

config_test_driver.h and
crypto_config_test_driver_extension.h are
configuration files thus they better fit in
mbedtls branches than in the framework.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
@ronald-cron-arm
Copy link
Contributor Author

@minosgalanakis @Harry-Ramsey due to the merge of #9794 (I think) this PR got a framework conflict. I rebased and in the first commit changed the framework pointer to the merge of f#79 instead of the head of f#79. Please have another look.

Copy link
Contributor

@minosgalanakis minosgalanakis left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Harry-Ramsey Harry-Ramsey left a comment

Choose a reason for hiding this comment

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

LGTM.

@ronald-cron-arm ronald-cron-arm added this pull request to the merge queue Nov 21, 2024
Merged via the queue into Mbed-TLS:development with commit 28a26ec Nov 21, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement needs-review Every commit must be reviewed by at least two team members, priority-high High priority - will be reviewed soon
Development

Successfully merging this pull request may close these issues.

Remove MBEDTLS_PSA_CRYPTO_CONFIG configuration option
4 participants