My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
TEEC_Operation Struct Reference

The TEEC_Operation structure is used to contain control information related to an operation that is to be invoked with the security environment. More...

#include <otz_tee_client_api.h>

Public Attributes

uint32_t started
 
uint32_t paramTypes
 
TEEC_Parameter params [4]
 

Detailed Description

The TEEC_Operation structure is used to contain control information related to an operation that is to be invoked with the security environment.

This type defines the payload of either an open Session operation or an invoke Command operation. It is also used for cancellation of operations, which may be desirable even if no payload is passed.

Member Data Documentation

TEEC_Parameter TEEC_Operation::params[4]

params is an array of four Parameters. For each parameter, one of the memref, tmpref, or value fields must be used depending on the corresponding parameter type passed in paramTypes as described in the specification of TEEC_Parameter

uint32_t TEEC_Operation::paramTypes

paramTypes field encodes the type of each of the Parameters in the operation. The layout of these types within a 32-bit integer is implementation-defined and the Client Application MUST use the macro TEEC_PARAMS_TYPE to construct a constant value for this field. As a special case, if the Client Application sets paramTypes to 0, then the Implementation MUST interpret it as meaning that the type for each Parameter is set to TEEC_NONE.
The type of each Parameter can take one of the following values
TEEC_NONE
TEEC_VALUE_INPUT
TEEC_VALUE_OUTPUT
TEEC_VALUE_INOUT
TEEC_MEMREF_TEMP_INPUT
TEEC_MEMREF_TEMP_OUTPUT
TEEC_MEMREF_TEMP_INOUT
TEEC_MEMREF_WHOLE
TEEC_MEMREF_PARTIAL_INPUT
TEEC_MEMREF_PARTIAL_OUTPUT
TEEC_MEMREF_PARTIAL_INOUT

uint32_t TEEC_Operation::started

This field which MUST be initialized to zero by the Client Application before each use in an operation if the Client Application may need to cancel the operation about to be performed.


The documentation for this struct was generated from the following file: