- Notifications
You must be signed in to change notification settings - Fork 177
PSA core 5.12 #986
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
Closed
Closed
PSA core 5.12 #986
Changes from 1 commit
Commits
Show all changes
38 commits Select commit Hold shift + click to select a range
0f33d99 PSA core 5.12 docs
alzix 1ad712c update .gitignore
alzix e4af98d rearrange docs
alzix 2778c2d lifecycle - doxyden
alzix 619d63a platform partition
alzix 69845d4 Move psa IST and PS to storage folder
alzix 7f20a7f Fix typo in ITS
alzix 818a8e5 Update PSA Initial Attestation Service document
02a3bd7 Update psa_lifecycle.md
GuyWi 81dedfe Update platform_service.md
GuyWi ae37b51 Update psa_attestation.md
GuyWi 1c0426e Update security.md
GuyWi e9c6050 Update spm.md
GuyWi 8a13c4f Update psa_internal_storage.md
GuyWi 9857a52 Update psa_protected_storage.md
GuyWi 52113f0 Update spm.md
GuyWi 6524fdf Update psa.md
GuyWi a83cc98 Update security.md
GuyWi 079c4d1 Update psa_internal_storage.md
GuyWi e22de4a Updates based on Danny's feedback.
GuyWi a1332cd Updates based on Danny's feedback.
GuyWi 2e65a88 Updated based on Danny's feedback.
GuyWi 1095825 Update psa_protected_storage.md
GuyWi 5a21af0 Updated based on Alex Z's clarifications.
GuyWi 7b0722b Update psa_lifecycle.md
GuyWi 1e5a857 Update psa_attestation.md
GuyWi 89311f9 Update psa_attestation.md
GuyWi afc8bdc Update security.md
GuyWi f9f7b08 Update psa_internal_storage.md
GuyWi df93f26 Update psa_internal_storage.md
GuyWi 6a9f6aa Update spm.md
GuyWi ce744d5 Update psa.md
GuyWi b42c68c Update psa_crypto.md
GuyWi e79b2e8 Delete psa_crypto.md
GuyWi 14ce3a7 Update psa_lifecycle.md
GuyWi 78e26cb Update platform service doc
alzix b8f57c3 Update platform_service.md
GuyWi f02cd8a Update platform_service.md
GuyWi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
PSA core 5.12 docs
add psa_lifecycle description add psa_platform description add TF-M porting guide extend porting guide with targets and labels description
- Loading branch information
commit 0f33d991e6ec53c3aaebebedd9db082d7968bc7c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| #!/usr/bin/env bash | ||
| | ||
| dot -Tpng psa_lifecycle.dot -o psa_lifecycle.png | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| digraph { | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this file? What does it do? | ||
| PSA_LIFECYCLE_ASSEMBLY_AND_TEST -> PSA_LIFECYCLE_ASSEMBLY_AND_TEST [label=<<font color='red'><b>ITS reset</b></font>>]; | ||
| PSA_LIFECYCLE_ASSEMBLY_AND_TEST -> PSA_LIFECYCLE_PSA_ROT_PROVISIONING [style=dashed, color=grey, label=<<font color='red'><b>ITS reset</b></font> and reboot>]; | ||
| PSA_LIFECYCLE_PSA_ROT_PROVISIONING -> PSA_LIFECYCLE_SECURED [style=dashed, color=grey, label="reboot"]; | ||
| PSA_LIFECYCLE_SECURED -> PSA_LIFECYCLE_NON_PSA_ROT_DEBUG [style=dashed, color=grey, label="reboot"]; | ||
| PSA_LIFECYCLE_SECURED -> PSA_LIFECYCLE_RECOVERABLE_PSA_ROT_DEBUG [style=dashed, color=grey, label="reboot"]; | ||
| PSA_LIFECYCLE_SECURED -> PSA_LIFECYCLE_DECOMMISSIONED [style=dashed, color=grey, label="reboot"]; | ||
| | ||
| PSA_LIFECYCLE_NON_PSA_ROT_DEBUG -> PSA_LIFECYCLE_SECURED [style=dashed, color=grey, label="reboot"]; | ||
| PSA_LIFECYCLE_RECOVERABLE_PSA_ROT_DEBUG -> PSA_LIFECYCLE_SECURED [style=dashed, color=grey, label="reboot"]; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <h2 id="psa-lifecycle">PSA lifecycle reference API</h2> | ||
| | ||
| PSA Lifecycle allows fine grained control over target RoT without compromising on developer experience. | ||
GuyWi marked this conversation as resolved. Outdated Show resolved Hide resolved GuyWi marked this conversation as resolved. Outdated Show resolved Hide resolved | ||
| PSA Lifecycle can be described by following state machine: | ||
| | ||
|  | ||
| | ||
| <span class="notes"> **Note:** | ||
| PSA Lifectcle is not a standalone feature as it depends on a PSA bootloader support, which is not yet introduced to mbed-os. | ||
| The only supported lifecycle change available at the moment is `PSA_LIFECYCLE_ASSEMBLY_AND_TEST` to `PSA_LIFECYCLE_ASSEMBLY_AND_TEST`, which can be used for tests to reset device RoT state. | ||
| All the dashed edges are not implemented. | ||
| </span> | ||
| | ||
| Lifecycle can be specified during build time by `MBED_CONF_LIFECYCLE_STATE` macro. Default value is `PSA_LIFECYCLE_ASSEMBLY_AND_TEST`. | ||
| | ||
| In mbed-os PSA Lifecycle is implemented as part of [platform service](../platform_servcie.md) | ||
| | ||
| TODO: link to doxygen | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <h2 id="platform-service">Platfrom Service API</h2> | ||
| | ||
| Platform service introduces system reset and PSA Lifecycle APIs. | ||
| PSA platform service may be extended by target vendors to expose target peripherals only accessible from secure side. | ||
| | ||
| Todo: link to doxygen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
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.
What is this file? What does it do?