Searched refs:param (Results 1 – 5 of 5) sorted by relevance
/optee_client/tee-supplicant/src/ |
A D | tee_supplicant.h | 41 bool tee_supp_param_is_memref(struct tee_ioctl_param *param); 42 bool tee_supp_param_is_value(struct tee_ioctl_param *param); 43 void *tee_supp_param_to_va(struct tee_ioctl_param *param);
|
A D | tee_supplicant.c | 743 bool tee_supp_param_is_memref(struct tee_ioctl_param *param) in tee_supp_param_is_memref() argument 745 switch (param->attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) { in tee_supp_param_is_memref() 755 bool tee_supp_param_is_value(struct tee_ioctl_param *param) in tee_supp_param_is_value() argument 757 switch (param->attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) { in tee_supp_param_is_value() 767 void *tee_supp_param_to_va(struct tee_ioctl_param *param) in tee_supp_param_to_va() argument 772 if (!tee_supp_param_is_memref(param)) in tee_supp_param_to_va() 775 end_offs = MEMREF_SIZE(param) + MEMREF_SHM_OFFS(param); in tee_supp_param_to_va() 776 if (end_offs < MEMREF_SIZE(param) || end_offs < MEMREF_SHM_OFFS(param)) in tee_supp_param_to_va() 779 tshm = find_tshm(MEMREF_SHM_ID(param)); in tee_supp_param_to_va() 786 return (uint8_t *)tshm->p + MEMREF_SHM_OFFS(param); in tee_supp_param_to_va()
|
A D | tee_socket.c | 167 static bool chk_pt(struct tee_ioctl_param *param, uint32_t type) in chk_pt() argument 169 return (param->attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) == type; in chk_pt()
|
/optee_client/libteec/src/ |
A D | tee_client_api.c | 194 struct tee_ioctl_param *param, in teec_pre_process_tmpref() argument 229 MEMREF_SHM_ID(param) = shm->id; in teec_pre_process_tmpref() 241 MEMREF_SHM_ID(param) = shm->id; in teec_pre_process_tmpref() 251 struct tee_ioctl_param *param) in teec_pre_process_whole() argument 275 MEMREF_SHM_ID(param) = shm->id; in teec_pre_process_whole() 276 MEMREF_SIZE(param) = shm->size; in teec_pre_process_whole() 283 struct tee_ioctl_param *param) in teec_pre_process_partial() argument 323 MEMREF_SHM_ID(param) = shm->id; in teec_pre_process_partial() 399 struct tee_ioctl_param *param, in teec_post_process_tmpref() argument 425 MEMREF_SIZE(param)); in teec_post_process_whole() [all …]
|
/optee_client/libckteec/src/ |
A D | serialize_ck.c | 390 CK_AES_CTR_PARAMS_PTR param = mecha->pParameter; in serialize_mecha_aes_ctr() local 398 size = sizeof(uint32_t) + sizeof(param->cb); in serialize_mecha_aes_ctr() 403 rv = serialize_ck_ulong(obj, param->ulCounterBits); in serialize_mecha_aes_ctr() 407 rv = serialize_buffer(obj, param->cb, sizeof(param->cb)); in serialize_mecha_aes_ctr() 442 size = sizeof(uint32_t) + param->ulLen; in serialize_mecha_key_deriv_str() 447 rv = serialize_ck_ulong(obj, param->ulLen); in serialize_mecha_key_deriv_str() 451 return serialize_buffer(obj, param->pData, param->ulLen); in serialize_mecha_key_deriv_str() 465 size = sizeof(param->iv) + sizeof(uint32_t) + param->length; in serialize_mecha_aes_cbc_encrypt_data() 470 rv = serialize_buffer(obj, param->iv, sizeof(param->iv)); in serialize_mecha_aes_cbc_encrypt_data() 474 rv = serialize_ck_ulong(obj, param->length); in serialize_mecha_aes_cbc_encrypt_data() [all …]
|
Completed in 9 milliseconds