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

Add CMake option for explicitly link library to trusted_storage #186

Merged
merged 2 commits into from
Jul 24, 2019
Merged

Add CMake option for explicitly link library to trusted_storage #186

merged 2 commits into from
Jul 24, 2019

Conversation

moshe-shahar
Copy link
Contributor

CMake option name: LINK_WITH_TRUSTED_STORAGE
Default value is ON since the default of mbedtls for MBEDTLS_PSA_ITS_FILE_C is using ITS.

This PR is based on #180 with the addition of one commit. Please merge after it.

The new option assumes trusted_storage library exist and force mbedcrypto library to link with it. Any application/test uses emulated ITS (by defining MBEDTLS_PSA_ITS_FILE_C) should set this option to OFF.

@moshe-shahar
Copy link
Contributor Author

@Patater, please review.

@simonqhughes, FYI.

option name: LINK_WITH_TRUSTED_STORAGE
default value: ON
library/CMakeLists.txt Outdated Show resolved Hide resolved
library/CMakeLists.txt Show resolved Hide resolved
@Patater Patater added enhancement New feature or request needs: ci Needs a passing full CI run needs: review The pull request is ready for review. This generally means that it has no known issues. needs: work The pull request needs rework before it can be merged. labels Jul 24, 2019
@Patater Patater requested a review from simonqhughes July 24, 2019 10:42
Copy link
Contributor

@Patater Patater left a comment

Choose a reason for hiding this comment

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

LGTM

@Patater Patater removed needs: ci Needs a passing full CI run needs: work The pull request needs rework before it can be merged. labels Jul 24, 2019
Copy link
Contributor

@simonqhughes simonqhughes left a comment

Choose a reason for hiding this comment

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

lgtm

@Patater Patater removed the needs: review The pull request is ready for review. This generally means that it has no known issues. label Jul 24, 2019
@Patater Patater merged commit 456674d into ARMmbed:development Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants