struct TEEC_Operation

Defined at line 382 of file ../../src/security/lib/tee/tee-client-api/include/tee-client-api/tee-client-types.h

TEEC_Operation

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.

Fields:

started A 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.

paramTypes 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_PARAM_TYPES 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 a meaning that the type of each Parameter is set

to TEEC_NONE.

params 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.

imp Contains any additional implementation-defined data attached to the operation

structure.

Public Members

uint32_t started
uint32_t paramTypes
TEEC_Parameter[4] params
teec_operation_impl imp