You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the TPM service to include changes from the most recent v1.1 CRB Over FF-A specification. This includes the changes to manage_locality and the addition of get_crb_info. Updated the TPM service to allow for all registers to be accessible. This was needed for get_crb_info. Added tests for get_crb_info and updated the tests for manage_locality. The changes to only allow opening/closing locality2/3 required changes to other tests as well which were opening and closing locality0. Updated the mod.rs file to expose the TPM SST which will allow other developers including the TPM service to provide their own implementation of the TPM SST. Updated Safety comments. Fixed Clippy issues.
…CRB Over FF-A specification. This includes the changes to manage_locality and the addition of get_crb_info. Updated the TPM service to allow for all registers to be accessible. This was needed for get_crb_info. Added tests for get_crb_info and updated the tests for manage_locality. The changes to only allow opening/closing locality2/3 required changes to other tests as well which were opening and closing locality0. Updated the mod.rs file to expose the TPM SST which will allow other developers including the TPM service to provide their own implementation of the TPM SST. Updated Safety comments. Fixed Clippy issues.
Update test locality to reach invalid-operation validation
ec-service-lib/src/services/tpm.rs:620
The new early locality check means test_manage_locality_invalid_function (which sends locality 0) now returns InvArg here, before reaching the invalid-operation branch. Change that test to use locality 2 or 3 so it still verifies operation validation rather than passing for the wrong reason.
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.
Description
Updated the TPM service to include changes from the most recent v1.1 CRB Over FF-A specification. This includes the changes to manage_locality and the addition of get_crb_info. Updated the TPM service to allow for all registers to be accessible. This was needed for get_crb_info. Added tests for get_crb_info and updated the tests for manage_locality. The changes to only allow opening/closing locality2/3 required changes to other tests as well which were opening and closing locality0. Updated the mod.rs file to expose the TPM SST which will allow other developers including the TPM service to provide their own implementation of the TPM SST. Updated Safety comments. Fixed Clippy issues.
How This Was Tested
Ran all UnitTests
Integration Instructions
N/A