Home
last modified time | relevance | path

Searched refs:data (Results 1 – 18 of 18) sorted by relevance

/optee_test/host/supp_plugin/
A Dtest_supp_plugin.c16 static TEEC_Result pass_values(unsigned int sub_cmd, void *data, in pass_values() argument
24 values = (struct add_op *)data; in pass_values()
35 static TEEC_Result proc_input_arr(unsigned int sub_cmd, void *data, in proc_input_arr() argument
42 uint8_t *d = data; in proc_input_arr()
53 static TEEC_Result get_test_arr(unsigned int sub_cmd, void *data, in get_test_arr() argument
63 memcpy(data, test_arr, test_size); in get_test_arr()
70 void *data, size_t data_len, in test_plugin_invoke() argument
77 return pass_values(sub_cmd, data, data_len, out_len); in test_plugin_invoke()
79 return proc_input_arr(sub_cmd, data, data_len, out_len); in test_plugin_invoke()
81 return get_test_arr(sub_cmd, data, data_len, out_len); in test_plugin_invoke()
/optee_test/ta/supp_plugin/
A Dta_entry.c115 char data[32] = { }; in bad_input_uuid() local
116 size_t inlen = sizeof(data); in bad_input_uuid()
118 return tee_invoke_supp_plugin(NULL, 0, 0, data, inlen, NULL); in bad_input_uuid()
130 char data[32] = { }; in bad_input_inlen() local
132 return tee_invoke_supp_plugin(&uuid, 0, 0, data, 0, NULL); in bad_input_inlen()
140 char data[32] = { }; in call_unknown_plugin() local
141 size_t inlen = sizeof(data); in call_unknown_plugin()
143 return tee_invoke_supp_plugin(&nulluuid, 0, 0, data, inlen, NULL); in call_unknown_plugin()
/optee_test/host/xtest/gp/patches/
A D0010-TEE_DataStorage_API.xml.patch31data stream associated with the object object into the buffer pointed to by buffer. The object han…
39data stream associated with the object object into the buffer pointed to by buffer. The object han…
47data stream associated with the object object into the buffer pointed to by buffer. The object han…
55data stream associated with the object object into the buffer pointed to by buffer. The object han…
63data stream associated with the object object into the buffer pointed to by buffer. The object han…
71data stream associated with the object object into the buffer pointed to by buffer. The object han…
79data stream associated with the object object into the buffer pointed to by buffer. The object han…
87data stream associated with the object object into the buffer pointed to by buffer. The object han…
95 …<description><![CDATA[If the value of the data position indicator resulting from this operation wo…
A D0009-TEE_Internal_API.xml.patch77data pointer set by the Trusted Application using the TEE_GetInstanceData function. Return Value: …
A D0006-TTA_TCF-fix-CmdTEEGetPropertyA-_withoutEnum.patch70 /* if all input/output data are correct */
97 /* if all input/output data are correct */
/optee_test/ta/sims/
A Dta_sims.c14 void *data; member
111 TEE_MemMove(params[1].memref.buffer, storage[index].data, in sims_read()
132 if (storage[index].data != NULL) in sims_write()
133 TEE_Free(storage[index].data); in sims_write()
135 storage[index].data = TEE_Malloc(params[1].memref.size, 0); in sims_write()
136 if (storage[index].data == NULL) { in sims_write()
142 TEE_MemMove(storage[index].data, params[1].memref.buffer, in sims_write()
/optee_test/host/xtest/
A Dregression_4100.c749 } data[] = { in test_4102() local
844 data[n], (uint32_t)data[n]); in test_4103()
952 } data[] = { in test_4104() local
975 data[n].str1, data[n].str2, data[n].cmp_res))) in test_4104()
1147 } data[] = { in test_4105() local
1206 data[n].t, data[n].r))) { in test_4105()
1227 } data[] = { in test_4106() local
1326 } data[] = { in test_4107() local
1361 data[n].t, data[n].r))) { in test_4107()
1468 } data[] = { in test_4108() local
[all …]
A Dregression_6000.c119 op.params[3].tmpref.buffer = data; in fs_create()
174 op.params[0].tmpref.buffer = data; in fs_read()
197 op.params[0].tmpref.buffer = data; in fs_write()
1332 uint8_t data[1024] = { }; in xtest_tee_test_6010_single() local
1337 data[n] = n; in xtest_tee_test_6010_single()
1353 sizeof(data), &o1, storage_id)); in xtest_tee_test_6010_single()
1358 sizeof(data), &o2, storage_id)); in xtest_tee_test_6010_single()
1420 fs_write(&sess, o1, data, sizeof(data)))) in xtest_tee_test_6010_single()
1432 ADBG_EXPECT_BUFFER(c, data, sizeof(data), out, n); in xtest_tee_test_6010_single()
1454 data + sizeof(data) / 2, sizeof(data) / 2, in xtest_tee_test_6010_single()
[all …]
A Dsdp_basic.c63 struct dma_heap_allocation_data data = { 0 }; in allocate_dma_buffer() local
77 data.len = size; in allocate_dma_buffer()
78 data.fd_flags = O_RDWR | O_CLOEXEC; in allocate_dma_buffer()
79 data.heap_flags = 0; in allocate_dma_buffer()
81 if (ioctl(fd_mem_sec, DMA_HEAP_IOCTL_ALLOC, &data) == -1) { in allocate_dma_buffer()
86 fd = data.fd; in allocate_dma_buffer()
301 char *data = (char *)out; in check_sdp_dumped() local
307 if (*data++ != (unsigned char)(~(*bref++) + 1)) in check_sdp_dumped()
A Dpkcs11_1000.c5029 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
5108 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
5167 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
5208 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
5245 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
5280 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
5306 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
5336 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
5366 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
5392 memset(data, 0xCC, sizeof(data)); in xtest_pkcs11_test_1018()
[all …]
A Dsymm_cipher_perf.c437 char *data = mmap(NULL, size, PROT_WRITE, MAP_SHARED, in run_feed_input() local
440 if (data == MAP_FAILED) { in run_feed_input()
444 feed_input(data, size, random); in run_feed_input()
445 munmap(data, size); in run_feed_input()
A Dregression_2000.c94 const void *data, size_t *dlen, in socket_send() argument
102 op.params[1].tmpref.buffer = (void *)data; in socket_send()
118 void *data, size_t *dlen, in socket_recv() argument
126 op.params[1].tmpref.buffer = (void *)data; in socket_recv()
176 void *data, size_t *dlen, uint32_t *ret_orig) in socket_ioctl() argument
183 op.params[1].tmpref.buffer = data; in socket_ioctl()
/optee_test/scripts/
A Daes_gcm_test.py76 data = json.load(inf)
78 for tg in data['testGroups']:
/optee_test/host/xtest/gp/include/
A Dxml_common_api.h31 memoryType, copySize, data, \ argument
38 if (data != NULL) { \
39 memcpy(sharedMemory->buffer, data, copySize); \
A Dxml_datastorage_api.h1249 #define Check_ReadObjectData_DataRead(c, data, data_size) \ argument
1250 ADBG_EXPECT_BUFFER(c, data, data_size, saved_obj_data, \
1253 #define Check_ReadObjectData_AfterWrite(c, data, data_size) \ argument
1254 ADBG_EXPECT_BUFFER(c, data, data_size, saved_obj_data, \
1890 const void *data, size_t size) in Invoke_StoreBuffer() argument
1899 if (data) { in Invoke_StoreBuffer()
1905 memcpy(shm_data.buffer, data, shm_data.size); in Invoke_StoreBuffer()
A Dxml_internal_api.h369 char *data) in Invoke_SetInstanceData() argument
373 size_t data_size = strlen(data) + 1; in Invoke_SetInstanceData()
378 data_size, data, mem01_exit) in Invoke_SetInstanceData()
A Dxml_crypto_api.h1015 static TEEC_Result calculate_digest(ADBG_Case_t *c, const void *data,
2677 static TEEC_Result calculate_digest(ADBG_Case_t *c, const void *data, in calculate_digest() argument
2692 if (EVP_Digest(data, data_length, buf, &sz, md, NULL)) { in calculate_digest()
/optee_test/ta/os_test/
A Dos_test.c1474 size_t size __unused, void *data) in iterate_hdr_cb() argument
1476 int *count = data; in iterate_hdr_cb()

Completed in 81 milliseconds