Home
last modified time | relevance | path

Searched refs:tmp_len (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
46 *tmp_len = 0; in copy_param()
80 *tmp_len = tbl; in copy_param()
159 size_t tmp_len = 0; in TEE_OpenTASession() local
168 res = copy_param(&up, paramTypes, params, &tmp_buf, &tmp_len, tmp_va); in TEE_OpenTASession()
175 TEE_Result res2 = tee_unmap(tmp_buf, tmp_len); in TEE_OpenTASession()
214 size_t tmp_len = 0; in TEE_InvokeTACommand() local
225 res = copy_param(&up, paramTypes, params, &tmp_buf, &tmp_len, tmp_va); in TEE_InvokeTACommand()
233 TEE_Result res2 = tee_unmap(tmp_buf, tmp_len); in TEE_InvokeTACommand()
A Dtee_api_property.c198 uint32_t tmp_len; in TEE_GetPropertyAsString() local
207 tmp_len = *value_len; in TEE_GetPropertyAsString()
208 if (tmp_len < sizeof(TEE_Identity)) in TEE_GetPropertyAsString()
209 tmp_len = sizeof(TEE_Identity); in TEE_GetPropertyAsString()
210 tmp_buf = TEE_Malloc(tmp_len, TEE_USER_MEM_HINT_NO_FILL_ZERO); in TEE_GetPropertyAsString()
217 tmp_buf, &tmp_len); in TEE_GetPropertyAsString()
226 tmp_len = _base64_enc_len(tmp_len); in TEE_GetPropertyAsString()
228 *value_len = tmp_len; in TEE_GetPropertyAsString()
261 if (!_base64_enc(tmp_buf, tmp_len, value, &l) && in TEE_GetPropertyAsString()
/optee_os/lib/libmbedtls/mbedtls/library/
A Dssl_tls.c405 size_t tmp_len = 0; in tls1_prf() local
413 tmp_len = 20 + strlen( label ) + rlen; in tls1_prf()
414 tmp = mbedtls_calloc( 1, tmp_len ); in tls1_prf()
503 mbedtls_platform_zeroize( tmp, tmp_len ); in tls1_prf()
650 size_t tmp_len = 0; in tls_prf_generic() local
663 tmp_len = md_len + strlen( label ) + rlen; in tls_prf_generic()
664 tmp = mbedtls_calloc( 1, tmp_len ); in tls_prf_generic()
705 mbedtls_platform_zeroize( tmp, tmp_len ); in tls_prf_generic()

Completed in 29 milliseconds