Lines Matching refs:attributes

96 	TEE_Free(obj->attributes);  in cleanup_volatile_obj_ref()
138 trace_attributes("[destroy]", obj->attributes); in destroy_object()
153 if (get_bool(obj->attributes, PKCS11_CKA_TOKEN)) { in destroy_object()
181 obj->attributes = head; in create_obj_instance()
236 if (get_bool(obj->attributes, PKCS11_CKA_TOKEN)) { in create_object()
246 obj->attributes->attrs_size; in create_object()
259 obj->attributes, size, in create_object()
288 obj->attributes = NULL; in create_object()
436 if (get_bool(object->attributes, PKCS11_CKA_TOKEN) && in entry_destroy_object()
445 rc = check_access_attrs_against_token(session, object->attributes); in entry_destroy_object()
450 if (!get_bool(object->attributes, PKCS11_CKA_DESTROYABLE)) in entry_destroy_object()
466 TEE_Free(find_ctx->attributes); in release_find_obj_context()
585 if (!attributes_match_reference(obj->attributes, in entry_find_objects_init()
603 if (!obj->attributes) { in entry_find_objects_init()
613 if (!obj->attributes || in entry_find_objects_init()
615 obj->attributes) || in entry_find_objects_init()
616 !attributes_match_reference(obj->attributes, req_attrs)) { in entry_find_objects_init()
638 find_ctx->attributes = req_attrs; in entry_find_objects_init()
790 rc = check_access_attrs_against_token(session, obj->attributes); in entry_get_attribute_value()
856 rc = get_attribute(obj->attributes, cli_head.id, data_ptr, in entry_get_attribute_value()
946 rc = check_access_attrs_against_token(session, obj->attributes); in entry_get_object_size()
953 obj_size = ((struct obj_attrs *)obj->attributes)->attrs_size + in entry_get_object_size()
1007 if (object_is_token(obj->attributes) && in entry_set_attribute_value()
1017 rc = check_access_attrs_against_token(session, obj->attributes); in entry_set_attribute_value()
1024 if (!object_is_modifiable(obj->attributes)) { in entry_set_attribute_value()
1052 rc = modify_attributes_list(&obj->attributes, head); in entry_set_attribute_value()
1056 if (get_bool(obj->attributes, PKCS11_CKA_TOKEN)) { in entry_set_attribute_value()
1123 if (object_is_token(obj->attributes) && in entry_copy_object()
1133 rc = check_access_attrs_against_token(session, obj->attributes); in entry_copy_object()
1140 if (!object_is_copyable(obj->attributes)) { in entry_copy_object()
1164 class = get_class(obj->attributes); in entry_copy_object()
1191 template_size = sizeof(*obj->attributes) + obj->attributes->attrs_size; in entry_copy_object()
1198 TEE_MemMove(head_new, obj->attributes, template_size); in entry_copy_object()