Searched refs:n (Results 1 – 13 of 13) sorted by relevance
/optee_client/libteec/src/ |
A D | teec_trace.c | 74 int n = 0; in _dprintf() local 83 if (n < 0) in _dprintf() 89 n = vsnprintf(msg + n, sizeof(msg) - n, fmt, ap); in _dprintf() 91 if (n < 0) in _dprintf() 105 size_t n = 0; in dump_buffer() local 107 for (n = 0; n < 16; n++) { in dump_buffer() 108 if (n < blen) in dump_buffer() 113 if (n == 7) in dump_buffer() 119 for (n = 0; n < 16; n++) { in dump_buffer() 120 if (n < blen) { in dump_buffer() [all …]
|
A D | tee_client_api.c | 169 for (n = 0; n < TEEC_MAX_DEV_SEQ; n++) { in TEEC_InitializeContext() 341 for (n = 0; n < TEEC_CONFIG_PAYLOAD_REF_COUNT; n++) in teec_pre_process_operation() 350 for (n = 0; n < TEEC_CONFIG_PAYLOAD_REF_COUNT; n++) { in teec_pre_process_operation() 362 params[n].a = operation->params[n].value.a; in teec_pre_process_operation() 363 params[n].b = operation->params[n].value.b; in teec_pre_process_operation() 369 &operation->params[n].tmpref, params + n, in teec_pre_process_operation() 385 &operation->params[n].memref, params + n); in teec_pre_process_operation() 461 for (n = 0; n < TEEC_CONFIG_PAYLOAD_REF_COUNT; n++) { in teec_post_process_operation() 470 operation->params[n].value.a = params[n].a; in teec_post_process_operation() 477 &operation->params[n].tmpref, params + n, in teec_post_process_operation() [all …]
|
/optee_client/tee-supplicant/src/ |
A D | handle.c | 70 size_t n = 0; in handle_get() local 81 for (n = 0; n < db->max_ptrs; n++) { in handle_get() 82 if (!db->ptrs[n]) { in handle_get() 83 db->ptrs[n] = ptr; in handle_get() 84 ret = n; in handle_get() 105 db->ptrs[n] = ptr; in handle_get() 106 ret = n; in handle_get() 160 size_t n = 0; in handle_foreach_put() local 167 for (n = 0; n < db->max_ptrs; n++) { in handle_foreach_put() 168 if (db->ptrs[n]) { in handle_foreach_put() [all …]
|
A D | prof.c | 56 int n = 0; in prof_process() local 102 n = snprintf(path, sizeof(path), in prof_process() 113 if ((n < 0) || (n >= (int)sizeof(path))) in prof_process()
|
A D | sha2.c | 40 #define SHFR(x, n) (x >> n) argument 41 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) argument 42 #define ROTL(x, n) ((x << n) | (x >> ((sizeof(x) << 3) - n))) argument
|
A D | teec_ta_load.c | 89 int n = 0; in try_load_secure_module() local 103 n = snprintf(fname, PATH_MAX, in try_load_secure_module() 121 if ((n < 0) || (n >= PATH_MAX)) { in try_load_secure_module()
|
A D | tee_supplicant.c | 471 size_t n = 0; in get_dev_fd() local 473 for (n = 0; n < MAX_DEV_SEQ; n++) { in get_dev_fd() 474 snprintf(name, sizeof(name), "/dev/teepriv%zu", n); in get_dev_fd() 542 size_t n = 0; in find_params() local 547 for (n = 0; n < request->recv.num_params; n++) in find_params() 548 if (!(p[n].attr & TEE_IOCTL_PARAM_ATTR_META)) in find_params() 552 *num_params = request->recv.num_params - n; in find_params() 553 *params = p + n; in find_params() 554 *num_meta = n; in find_params() 557 for (; n < request->recv.num_params; n++) { in find_params() [all …]
|
A D | tee_supp_fs.c | 121 size_t n = 0; in tee_supp_fs_init() local 124 n = snprintf(tee_fs_root, sizeof(tee_fs_root), "%s/", TEE_FS_PARENT_PATH); in tee_supp_fs_init() 125 if (n >= sizeof(tee_fs_root)) in tee_supp_fs_init()
|
/optee_client/libckteec/src/ |
A D | ck_helpers.c | 18 size_t n = 0; in ckteec_assert_expected_rv() local 20 for (n = 0; n < expected_count; n++) in ckteec_assert_expected_rv() 21 if (rv == expected_rv[n]) in ckteec_assert_expected_rv()
|
A D | serialize_ck.c | 161 unsigned int n = 0; in serialize_ck_attribute() local 173 n = attr->ulValueLen / sizeof(CK_ULONG); in serialize_ck_attribute() 174 pkcs11_size = n * sizeof(uint32_t); in serialize_ck_attribute() 180 for (m = 0; m < n; m++) { in serialize_ck_attribute() 233 CK_ULONG n = 0; in serialize_ck_attributes() local 240 for (n = 0; n < count; n++) { in serialize_ck_attributes() 258 size_t n = 0; in deserialize_mecha_list() local 261 for (n = 0; n < count; n++) { in deserialize_mecha_list() 264 dst[n] = mecha_id; in deserialize_mecha_list() 340 CK_ULONG n = 0; in deserialize_ck_attributes() local [all …]
|
A D | pkcs11_token.c | 38 int n = 0; in ck_get_info() local 46 n = strnlen((char *)info->manufacturerID, in ck_get_info() 48 memset(&info->manufacturerID[n], ' ', in ck_get_info() 49 sizeof(info->manufacturerID) - n); in ck_get_info() 53 memset(&info->libraryDescription[n], ' ', in ck_get_info() 70 size_t n = 0; in ck_slot_get_list() local 103 for (n = 0; n < *count; n++) in ck_slot_get_list() 104 slots[n] = slot_ids[n]; in ck_slot_get_list() 279 size_t n = 0; in ck_token_mechanism_ids() local 316 for (n = 0; n < *count; n++) in ck_token_mechanism_ids() [all …]
|
A D | pkcs11_processing.c | 1006 CK_ULONG n = 0; in ck_find_objects() local 1041 for (n = 0; n < last; n++) in ck_find_objects() 1042 obj[n] = handles[n]; in ck_find_objects()
|
/optee_client/ |
A D | config.mk | 48 CFG_TA_TEST_PATH ?= n
|
Completed in 17 milliseconds