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

Update PSA defines and headers #9214

Closed
wants to merge 3 commits into from
Closed

Update PSA defines and headers #9214

wants to merge 3 commits into from

Conversation

orenc17
Copy link
Contributor

@orenc17 orenc17 commented Dec 31, 2018

Description

  • Created PSA headers:
    • psa/client.h & psa/service.h mandated by PSA-FF.
    • psa/internal_trusted_storage.h as defined psa_trusted_storage_api.
  • Updated iovec type names according to spec changes.
  • Updated all services and tests to use the new defines and headers.
  • Preparation for TFM integration

Pull request type

[ ] Fix
[X] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@alzix @mikisch81 @Patater @danny4478 @adrianlshaw @athoelke

@ciarmcom ciarmcom requested review from alzix, danny4478, mikisch81, Patater and a team December 31, 2018 16:00
@ciarmcom
Copy link
Member

@orenc17, thank you for your changes.
@Patater @mikisch81 @alzix @danny4478@ARMmbed/mbed-os-tls @ARMmbed/mbed-os-maintainers please review.

Copy link
Contributor

@alzix alzix left a 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

Copy link
Contributor

@alzix alzix left a 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

Copy link
Contributor

@danny4478 danny4478 left a 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)
Copy link
Contributor

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) ?

Copy link
Contributor Author

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

Copy link
Contributor

Choose a reason for hiding this comment

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

cc @sbutcher-arm

Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

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

Copy link
Contributor

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.

@simonbutcher
Copy link
Contributor

@0xc0170 - You need to tag @ARMmbed/mbed-os-crypto, not the TLS team (or myself).

@cmonr
Copy link
Contributor

cmonr commented Jan 3, 2019

@adbridge Fyi #9214 (comment)

This was referenced Jan 9, 2019
Copy link
Contributor

@alzix alzix left a comment

Choose a reason for hiding this comment

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

LGTM

@alzix
Copy link
Contributor

alzix commented Jan 13, 2019

@Patater - please review and approve. It blocks #9312 .

@alzix
Copy link
Contributor

alzix commented Jan 17, 2019

@Patater - ping

@alzix
Copy link
Contributor

alzix commented Jan 23, 2019

depends on #9463

@@ -61,20 +61,7 @@ extern "C" {
* @{
*/

#if defined(PSA_SUCCESS)
Copy link
Contributor

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.

rtos/TARGET_CORTEX/mbed_rtos_rtx.c Outdated Show resolved Hide resolved
rtos/TARGET_CORTEX/mbed_rtos_rtx.c Outdated Show resolved Hide resolved
@orenc17
Copy link
Contributor Author

orenc17 commented Jan 30, 2019

@Patater closing this as #9192 fix all the issues and includes it as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants