#
58d63bbb |
|
22-Jun-2018 |
RJ Ascani <rjascani@google.com> |
[tee][optee] Add Context initialize and finalize The first building block concept for the TEE Client API is a Context. A Context is a logical connection which exists between a Client Application and a TEE. For our implementation, this is nothing more than opening and closing the TEE device driver. As a precaution, we also validate that the TEE device we've opened is compliant with GlobalPlatform. Test: Manually validated that the tee-test succeeded in opening the device. Change-Id: I3ea929f8148069c490b6eba83c28e5fa2808b441
|
#
29def958 |
|
22-Jun-2018 |
RJ Ascani <rjascani@google.com> |
[tee] Add TEE Client API skeleton The GlobalPlatform TEE Client API provides a communications API for connecting Client Applications running in a rich execution environment (in our case, Fuchsia) with an associated Trusted Application running inside a Trusted Execution Environment (TEE). This commit is limited to adding the constants, macros, data structures and function stubs as defined by the TEE Client API specification. All of the functions will return NOT_IMPLEMENTED for now. Test: The library successfully builds, but no usages of it yet and its behaviors are unimplemented. Change-Id: I2ec9b925882592e98ac82a0d27ba104049f4639f
|