Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libutee/
A Dtee_api_property.c192 uint32_t *value_len) in TEE_GetPropertyAsString() argument
207 tmp_len = *value_len; in TEE_GetPropertyAsString()
228 *value_len = tmp_len; in TEE_GetPropertyAsString()
250 l = snprintk(value, *value_len, "%u:%pUl", in TEE_GetPropertyAsString()
256 l = strlcpy(value, tmp_buf, *value_len); in TEE_GetPropertyAsString()
262 l <= *value_len) { in TEE_GetPropertyAsString()
276 if (l > *value_len) in TEE_GetPropertyAsString()
278 *value_len = l; in TEE_GetPropertyAsString()
346 uint32_t *value_len) in TEE_GetPropertyAsBinaryBlock() argument
353 __utee_check_outbuf_annotation(value, value_len); in TEE_GetPropertyAsBinaryBlock()
[all …]
/optee_os-3.20.0/ta/pkcs11/src/
A Dprocessing.c171 uint32_t value_len = 0; in generate_random_key_value() local
184 TEE_MemMove(&value_len, data, data_size); in generate_random_key_value()
191 value = TEE_Malloc(value_len, TEE_USER_MEM_HINT_NO_FILL_ZERO); in generate_random_key_value()
195 TEE_GenerateRandom(value, value_len); in generate_random_key_value()
197 rc = add_attribute(head, PKCS11_CKA_VALUE, value, value_len); in generate_random_key_value()

Completed in 4 milliseconds