-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libteec: allow passing settings to session open
Add a new function, TEEC_OpenSession2, that allows a developer to pass configuration parameters in the form of distinct settings. One of the new settings is for attaching an arbitrary pointer to the session. This is useful when an OCALL arrives from the TA and the handler requires contextual information to proceed that changes depending on which session the OCALL arrived through. Having multiple settings in this manner helps reduce the number of auxiliary functions necessary. Were new functionality to be added in the future, no new functions would need to be introduced. Instead, one would only require a new setting. Signed-off-by: Hernan Gatta <hegatta@microsoft.com>
- Loading branch information
1 parent
aabf0d2
commit bad9015
Showing
4 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 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 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 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