Home
last modified time | relevance | path

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

/optee_os/lib/libutee/
A Dtee_api.c27 void **tmp_buf, size_t *tmp_len, in copy_param() argument
45 *tmp_buf = NULL; in copy_param()
79 *tmp_buf = tb; in copy_param()
158 void *tmp_buf = NULL; in TEE_OpenTASession() local
168 res = copy_param(&up, paramTypes, params, &tmp_buf, &tmp_len, tmp_va); in TEE_OpenTASession()
174 if (tmp_buf) { in TEE_OpenTASession()
175 TEE_Result res2 = tee_unmap(tmp_buf, tmp_len); in TEE_OpenTASession()
213 void *tmp_buf = NULL; in TEE_InvokeTACommand() local
225 res = copy_param(&up, paramTypes, params, &tmp_buf, &tmp_len, tmp_va); in TEE_InvokeTACommand()
232 if (tmp_buf) { in TEE_InvokeTACommand()
[all …]
A Dtee_api_property.c197 void *tmp_buf = 0; in TEE_GetPropertyAsString() local
211 if (!tmp_buf) { in TEE_GetPropertyAsString()
217 tmp_buf, &tmp_len); in TEE_GetPropertyAsString()
235 bool_val = *((bool *)tmp_buf); in TEE_GetPropertyAsString()
240 uint32_val = *((uint32_t *)tmp_buf); in TEE_GetPropertyAsString()
245 l = snprintk(value, *value_len, "%pUl", tmp_buf); in TEE_GetPropertyAsString()
249 p_identity_val = ((TEE_Identity *)tmp_buf); in TEE_GetPropertyAsString()
256 l = strlcpy(value, tmp_buf, *value_len); in TEE_GetPropertyAsString()
261 if (!_base64_enc(tmp_buf, tmp_len, value, &l) && in TEE_GetPropertyAsString()
281 if (tmp_buf) in TEE_GetPropertyAsString()
[all …]
/optee_os/ta/pkcs11/src/
A Dprocessing_symm.c1046 uint8_t *tmp_buf = out_buf; in wrap_data_by_symm_enc() local
1064 data, in_sz, tmp_buf, in wrap_data_by_symm_enc()
1070 tmp_buf += tmp_sz; in wrap_data_by_symm_enc()
1089 tmp_buf, &tmp_sz); in wrap_data_by_symm_enc()
1093 *out_sz += tmp_buf - (uint8_t *)out_buf; in wrap_data_by_symm_enc()

Completed in 6 milliseconds