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
Fix incorrect return value in psa_security_lifecycle_state (emul) #9745
Conversation
psa_security_lifecycle_state should return uint32_t of the security lifecycle state. bug: psa_platfrom_lifecycle_get_impl return value is psa_status_t.
@moranpeker, 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.
This code was written before #9708.
I suggest to rebase on top of it and use PSA_SUCCESS instead of PSA_LIFECYCLE_SUCCESS. In addition I would suggest verifying that PSA_LIFECYCLE_UNKNOWN does not collide with one of predefined PSA error codes.
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
CI started |
-Add bug fix for psa_security_lifecycle_state function - PR ARMmbed#9745 -Remove lifecycle data from temp boot status data -Update attesttation_partition_json file to use PSA_PLATFORM_LC_GET and generate partition code - auto generated files update
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
@moranpeker If you see CI started and you push a new update ,please leave a comment. I'll restart testing |
@0xc0170 I don't think a commit was added.
|
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
-Add bug fix for psa_security_lifecycle_state function - PR ARMmbed#9745 -Remove lifecycle data from temp boot status data -Update attesttation_partition_json file to use PSA_PLATFORM_LC_GET and generate partition code - auto generated files update
Description
psa_security_lifecycle_state should return uint32_t of the security
lifecycle state.
bug: psa_platfrom_lifecycle_get_impl return value is psa_status_t.
Pull request type
Reviewers
@alzix
Release Notes