Home
last modified time | relevance | path

Searched refs:TEE_MemMove (Results 1 – 16 of 16) sorted by relevance

/optee_os-3.20.0/ta/pkcs11/src/
A Dattributes.c75 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in _remove_attribute()
84 TEE_MemMove(cur, cur + next_off, end - (cur + next_off)); in _remove_attribute()
119 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in get_attribute_ptrs()
187 TEE_MemMove(attr, attr_ptr, size); in get_attribute()
220 TEE_MemMove(&cli_head, cur, sizeof(cli_head)); in modify_attributes_list()
265 TEE_MemMove(&pkcs11_ref, ref_attr, sizeof(pkcs11_ref)); in attributes_match_reference()
340 TEE_MemMove(prefix2, prefix, prefix_len + 1); in __trace_attributes()
348 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in __trace_attributes()
349 TEE_MemMove(&data[0], cur + sizeof(pkcs11_ref), in __trace_attributes()
431 TEE_MemMove(&head, ref, sizeof(head)); in trace_attributes()
[all …]
A Dsanitize_object.c60 TEE_MemMove(attr, b + *pos, sizeof(*attr)); in read_attr_advance()
97 TEE_MemMove(&class, data, sizeof(class)); in sanitize_class_and_type()
119 TEE_MemMove(&type, data, sizeof(type)); in sanitize_class_and_type()
263 TEE_MemMove(&head, src, sizeof(head)); in sanitize_client_object()
329 TEE_MemMove(prefix2, prefix, prefix_len + 1); in __trace_attributes()
339 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in __trace_attributes()
340 TEE_MemMove(&data[0], cur + sizeof(pkcs11_ref), in __trace_attributes()
342 TEE_MemMove(&data_u32, cur + sizeof(pkcs11_ref), in __trace_attributes()
403 TEE_MemMove(&head, ref, sizeof(head)); in trace_attributes_from_api_head()
417 TEE_MemMove(pre, prefix, strlen(prefix)); in trace_attributes_from_api_head()
A Dserializer.c34 TEE_MemMove(out, src, size); in serialargs_get()
66 TEE_MemMove(ptr, buf0, buf0_sz); in alloc_and_get()
67 TEE_MemMove(ptr + buf0_sz, src, size); in alloc_and_get()
188 TEE_MemMove(buf + *blen, data, len); in serialize()
A Dpersistent_token.c145 TEE_MemMove(&token->db_main->so_identity, &identity, sizeof(identity)); in setup_so_identity_auth_from_client()
183 TEE_MemMove(acl_string, pin, pin_size); in setup_identity_auth_from_pin()
229 TEE_MemMove(&token->db_main->so_identity, &identity, in setup_identity_auth_from_pin()
241 TEE_MemMove(&token->db_main->user_identity, &identity, in setup_identity_auth_from_pin()
348 TEE_MemMove(array, token->db_objs->uuids, *size); in get_persistent_objects_list()
388 TEE_MemMove(ptr, token->db_objs, in unregister_persistent_object()
395 TEE_MemMove(&ptr->uuids[idx], in unregister_persistent_object()
435 TEE_MemMove(token->db_objs->uuids + count, uuid, sizeof(TEE_UUID)); in register_persistent_object()
640 TEE_MemMove(uuid, &db_objs->uuids[idx], sizeof(*uuid)); in init_persistent_db()
A Dobject.c388 TEE_MemMove(out->memref.buffer, &obj_handle, sizeof(obj_handle)); in entry_create_object()
691 TEE_MemMove(out_handles + count * sizeof(uint32_t), in entry_find_objects()
830 TEE_MemMove(&cli_head, cli_ref, sizeof(cli_head)); in entry_get_attribute_value()
843 TEE_MemMove(&cli_ref->size, &cli_head.size, in entry_get_attribute_value()
875 TEE_MemMove(&cli_ref->size, &cli_head.size, in entry_get_attribute_value()
899 TEE_MemMove(out->memref.buffer, template, out->memref.size); in entry_get_attribute_value()
955 TEE_MemMove(out->memref.buffer, &obj_size, sizeof(obj_size)); in entry_get_object_size()
1198 TEE_MemMove(head_new, obj->attributes, template_size); in entry_copy_object()
1226 TEE_MemMove(out->memref.buffer, &obj_handle, sizeof(obj_handle)); in entry_copy_object()
A Dpkcs11_token.c260 TEE_MemMove(id, &token_id, sizeof(token_id)); in entry_ck_slot_list()
293 TEE_MemMove(info->slot_description, desc, n); in set_token_description()
341 TEE_MemMove(out->memref.buffer, &info, out->memref.size); in entry_ck_slot_info()
399 TEE_MemMove(info.serial_number, sn, sizeof(info.serial_number)); in entry_ck_token_info()
402 TEE_MemMove(info.label, token->db_main->label, sizeof(info.label)); in entry_ck_token_info()
408 TEE_MemMove(out->memref.buffer, &info, sizeof(info)); in entry_ck_token_info()
476 TEE_MemMove(out->memref.buffer, array, out->memref.size); in entry_ck_token_mecha_ids()
526 TEE_MemMove(out->memref.buffer, &info, sizeof(info)); in entry_ck_token_mecha_info()
666 TEE_MemMove(out->memref.buffer, &session->handle, in entry_ck_open_session()
798 TEE_MemMove(out->memref.buffer, &info, sizeof(info)); in entry_ck_session_info()
[all …]
A Dentry.c72 TEE_MemMove(out->memref.buffer, ver, sizeof(ver)); in entry_ping()
366 TEE_MemMove(params[0].memref.buffer, &rc, sizeof(rc)); in TA_InvokeCommandEntryPoint()
A Dprocessing_ec.c544 TEE_MemMove(ecpoint + hsize + poffset, x_ptr, x_size); in tee2pkcs_ec_attributes()
549 TEE_MemMove(ecpoint + hsize + psize + poffset, y_ptr, y_size); in tee2pkcs_ec_attributes()
822 TEE_MemMove(ctx->ctx, ctx_data, ctx_len); in pkcs2tee_proc_params_eddsa()
A Dprocessing_rsa.c249 TEE_MemMove(ctx->source_data, source_data, source_size); in pkcs2tee_proc_params_rsa_oaep()
311 TEE_MemMove(ctx->source_data, source_data, source_size); in pkcs2tee_proc_params_rsa_aes_wrap()
708 TEE_MemMove(&modulus_bits, a_ptr, sizeof(uint32_t)); in generate_rsa_keys()
A Dprocessing.c184 TEE_MemMove(&value_len, data, data_size); in generate_random_key_value()
322 TEE_MemMove(out->memref.buffer, &obj_handle, sizeof(obj_handle)); in entry_generate_secret()
555 TEE_MemMove(hdl_ptr, &pubkey_handle, sizeof(pubkey_handle)); in entry_generate_key_pair()
556 TEE_MemMove(hdl_ptr + 1, &privkey_handle, sizeof(privkey_handle)); in entry_generate_key_pair()
1046 TEE_MemMove(out->memref.buffer, &obj_handle, sizeof(obj_handle)); in entry_processing_key()
A Dprocessing_symm.c564 TEE_MemMove(pkcs11_data, proc_params->data, sizeof(uint32_t)); in init_tee_operation()
902 TEE_MemMove(out_buf, computed_mac, hmac_len); in step_symm_operation()
1075 TEE_MemMove(in_buf, (uint8_t *)data + in_sz, align); in wrap_data_by_symm_enc()
A Dpkcs11_attributes.c672 TEE_MemMove(&cert_category, attr_value, sizeof(cert_category)); in create_certificate_attributes()
1641 TEE_MemMove(&proc, attr, sizeof(uint32_t)); in parent_key_complies_allowed_processings()
2132 TEE_MemMove(&cli_ref, cur, sizeof(cli_ref)); in check_attrs_against_modification()
2409 TEE_MemMove(buffer, value, *sz); in alloc_copy_attribute_value()
A Dpkcs11_helpers.c801 TEE_MemMove(&type, value, sizeof(uint32_t)); in id2str_attr_value()
/optee_os-3.20.0/ta/avb/
A Dentry.c63 TEE_MemMove(name, named_value_prefix, pref_len); in get_named_object_name()
66 TEE_MemMove(name + pref_len, name_orig, name_orig_size); in get_named_object_name()
277 TEE_MemMove(value, params[1].memref.buffer, value_sz); in write_persist_value()
345 TEE_MemMove(params[1].memref.buffer, value, in read_persist_value()
/optee_os-3.20.0/lib/libutee/
A Dtee_api.c321 void *TEE_MemMove(void *dest, const void *src, uint32_t size) in TEE_MemMove() function
/optee_os-3.20.0/lib/libutee/include/
A Dtee_internal_api.h100 void *TEE_MemMove(void *dest, const void *src, uint32_t size);

Completed in 26 milliseconds