Home
last modified time | relevance | path

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

/optee_os/lib/libutee/
H A Dtee_api_property.c200 size_t *value_len) in TEE_GetPropertyAsString() argument
213 __utee_check_outstring_annotation(value, value_len); in TEE_GetPropertyAsString()
215 tmp_len = *value_len; in TEE_GetPropertyAsString()
236 *value_len = tmp_len; in TEE_GetPropertyAsString()
244 l = strlcpy(value, (bool_val ? "true" : "false"), *value_len); in TEE_GetPropertyAsString()
249 l = snprintf(value, *value_len, "%u", uint32_val); in TEE_GetPropertyAsString()
253 l = snprintk(value, *value_len, "%pUl", tmp_buf); in TEE_GetPropertyAsString()
258 l = snprintk(value, *value_len, "%u:%pUl", in TEE_GetPropertyAsString()
264 l = strlcpy(value, tmp_buf, *value_len); in TEE_GetPropertyAsString()
268 l = *value_len; /* l includes the zero-termination */ in TEE_GetPropertyAsString()
[all …]
/optee_os/ta/pkcs11/src/
H A Dprocessing.c177 uint32_t value_len = 0; in generate_random_key_value() local
191 TEE_MemMove(&value_len, data, data_size); in generate_random_key_value()
198 value = TEE_Malloc(value_len, TEE_USER_MEM_HINT_NO_FILL_ZERO); in generate_random_key_value()
202 TEE_GenerateRandom(value, value_len); in generate_random_key_value()
204 rc = add_attribute(head, PKCS11_CKA_VALUE, value, value_len); in generate_random_key_value()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dsha512.c140 size_t value_len = sizeof(value); in mbedtls_a64_crypto_sha512_determine_support() local
142 int ret = sysctlbyname("hw.optional.armv8_2_sha512", &value, &value_len, in mbedtls_a64_crypto_sha512_determine_support()