Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 10 of 10) sorted by relevance

/optee_test/ta/crypt/
A Dmbedtls_taf.c215 size_t sz = 0; in ta_entry_mbedtls_sign_cert() local
320 sz = params[1].memref.size; in ta_entry_mbedtls_sign_cert()
321 res = write_cert(&crt, params[1].memref.buffer, &sz); in ta_entry_mbedtls_sign_cert()
324 params[1].memref.size = sz; in ta_entry_mbedtls_sign_cert()
/optee_test/ta/sdp_basic/
A Dta_sdp_basic.c112 size_t sz = 0; in cmd_transform() local
159 sz = params[0].memref.size; in cmd_transform()
160 for (; sz; sz--, p++) in cmd_transform()
/optee_test/host/xtest/
A Daes_perf.c240 static void allocate_shm(TEEC_SharedMemory *shm, size_t sz) in allocate_shm() argument
245 shm->size = sz; in allocate_shm()
251 static void alloc_buffers(size_t sz, int in_place, int verbosity) in alloc_buffers() argument
256 allocate_shm(&in_shm, sz); in alloc_buffers()
259 input_sdp_fd = allocate_ion_buffer(sz, ion_heap, verbosity); in alloc_buffers()
271 allocate_shm(&out_shm, sz); in alloc_buffers()
274 output_sdp_fd = allocate_ion_buffer(sz, ion_heap, verbosity); in alloc_buffers()
A Dsha_perf.c148 static void alloc_shm(size_t sz, uint32_t algo, int offset) in alloc_shm() argument
153 in_shm.size = sz + offset; in alloc_shm()
A Dregression_1000.c629 size_t sz = 0; in load_corrupt_ta() local
641 sz = ftell(f); in load_corrupt_ta()
644 buf = malloc(sz); in load_corrupt_ta()
648 fread_res = fread(buf, 1, sz, f); in load_corrupt_ta()
649 if (!ADBG_EXPECT_COMPARE_UNSIGNED(c, fread_res, ==, sz)) in load_corrupt_ta()
655 buf[MIN(offs, sz)] ^= mask; in load_corrupt_ta()
660 op.params[0].tmpref.size = sz; in load_corrupt_ta()
/optee_test/host/xtest/gp/include/
A Dxml_client_api.h293 size_t offs, size_t sz) in TEEC_prepare_OperationEachParameter_memref() argument
297 .parent = shm, .size = sz, .offset = offs, in TEEC_prepare_OperationEachParameter_memref()
304 void *buf, size_t sz) in TEEC_prepare_OperationEachParameter_tmpref() argument
308 .buffer = buf, .size = sz, in TEEC_prepare_OperationEachParameter_tmpref()
A Dxml_crypto_api.h1274 vsz = sz; in add_attr()
1279 (*offs_2) += sz; in add_attr()
1994 size_t sz; in Invoke_Crypto_AsymmetricSignDigest() local
2009 sz--; in Invoke_Crypto_AsymmetricSignDigest()
2013 sz = 1; in Invoke_Crypto_AsymmetricSignDigest()
2188 size_t sz; in Invoke_Crypto_AsymmetricDecrypt() local
2203 sz--; in Invoke_Crypto_AsymmetricDecrypt()
2207 sz = 1; in Invoke_Crypto_AsymmetricDecrypt()
2683 unsigned int sz = 0; in calculate_digest() local
2693 digest->size = sz; in calculate_digest()
[all …]
A Dxml_timearithm_api.h954 size_t sz = op.params[2].memref.size; in Invoke_BigIntConvertToOctetString() local
956 saved_octet_string = malloc(sz); in Invoke_BigIntConvertToOctetString()
957 memcpy(saved_octet_string, shm.buffer, sz); in Invoke_BigIntConvertToOctetString()
958 saved_octet_string_size = sz; in Invoke_BigIntConvertToOctetString()
A Dxml_datastorage_api.h1237 size_t sz = op.params[1].memref.size; in Invoke_ReadObjectData() local
1239 saved_obj_data = malloc(sz); in Invoke_ReadObjectData()
1240 memcpy(saved_obj_data, SHARE_MEM01->buffer, sz); in Invoke_ReadObjectData()
1241 saved_obj_data_size = sz; in Invoke_ReadObjectData()
/optee_test/host/openssl/include/openssl/
A Ddso.h186 int (*pathbyaddr) (void *addr, char *path, int sz);
353 int DSO_pathbyaddr(void *addr, char *path, int sz);

Completed in 32 milliseconds