-
Notifications
You must be signed in to change notification settings - Fork 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
Update PSA defines and headers #9214
Conversation
@orenc17, thank you for your changes. |
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.
LGTM
@ARMmbed/mbed-os-maintainers please do not merge before approved by @Patater.
Some changes here should be propagated to https://github.com/ARMmbed/mbed-crypto repo
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.
@orenc17 why we are adding a sub-module in this PR?
features/mbedtls/importer/TARGET_IGNORE/mbedcrypto
please remove
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.
Do we still need spm_client.h & spm_server.h?
@@ -61,20 +61,7 @@ extern "C" { | |||
* @{ | |||
*/ | |||
|
|||
#if defined(PSA_SUCCESS) |
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.
shouldn't this change be done in mbedtls (new version would update this) ?
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.
yes but, to not break the compilation i must include this chnage
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.
cc @sbutcher-arm
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.
Yes, this change should be done upstream first via a new PR to https://github.com/ARMmbed/mbed-crypto
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.
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.
The necessary changes will come in through #9463
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.
Than I suggest removing this file from this PR and wait for #9463 to be merged first.
@0xc0170 - You need to tag @ARMmbed/mbed-os-crypto, not the TLS team (or myself). |
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.
LGTM
@Patater - ping |
depends on #9463 |
TESTS/psa/entropy_inject/its_reset/COMPONENT_SPE/TARGET_MBED_SPM/psa_test_its_reset_partition.c
Outdated
Show resolved
Hide resolved
...prot_internal_storage/its_reset/COMPONENT_SPE/TARGET_MBED_SPM/psa_test_its_reset_partition.c
Outdated
Show resolved
Hide resolved
TESTS/psa/spm_client/COMPONENT_SPE/TARGET_MBED_SPM/psa_client_tests_part1_partition.c
Outdated
Show resolved
Hide resolved
TESTS/psa/spm_server/COMPONENT_SPE/TARGET_MBED_SPM/psa_server_test_part1_partition.c
Outdated
Show resolved
Hide resolved
TESTS/psa/spm_server/COMPONENT_SPE/TARGET_MBED_SPM/psa_server_test_part2_partition.c
Outdated
Show resolved
Hide resolved
...GET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/TARGET_MBED_SPM/psa_its_partition.c
Outdated
Show resolved
Hide resolved
@@ -61,20 +61,7 @@ extern "C" { | |||
* @{ | |||
*/ | |||
|
|||
#if defined(PSA_SUCCESS) |
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.
Than I suggest removing this file from this PR and wait for #9463 to be merged first.
Description
Pull request type
Reviewers
@alzix @mikisch81 @Patater @danny4478 @adrianlshaw @athoelke