Home
last modified time | relevance | path

Searched refs:state (Results 1 – 1 of 1) sorted by relevance

/optee_examples/acipher/ta/
A Dacipher_ta.c47 TEE_FreeTransientObject(state->key); in cmd_gen_key()
48 state->key = key; in cmd_gen_key()
70 if (!state->key) in cmd_enc()
125 struct acipher *state; in TA_OpenSessionEntryPoint() local
130 state = TEE_Malloc(sizeof(*state), 0); in TA_OpenSessionEntryPoint()
131 if (!state) in TA_OpenSessionEntryPoint()
134 state->key = TEE_HANDLE_NULL; in TA_OpenSessionEntryPoint()
136 *session = state; in TA_OpenSessionEntryPoint()
143 struct acipher *state = session; in TA_CloseSessionEntryPoint() local
145 TEE_FreeTransientObject(state->key); in TA_CloseSessionEntryPoint()
[all …]

Completed in 2 milliseconds