Home
last modified time | relevance | path

Searched refs:cli_head (Results 1 – 2 of 2) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dobject.c833 struct pkcs11_attribute_head cli_head = { }; in entry_get_attribute_value() local
837 TEE_MemMove(&cli_head, cli_ref, sizeof(cli_head)); in entry_get_attribute_value()
839 len = sizeof(*cli_ref) + cli_head.size; in entry_get_attribute_value()
842 if (attribute_is_hidden(&cli_head)) { in entry_get_attribute_value()
843 cli_head.size = PKCS11_CK_UNAVAILABLE_INFORMATION; in entry_get_attribute_value()
844 TEE_MemMove(&cli_ref->size, &cli_head.size, in entry_get_attribute_value()
845 sizeof(cli_head.size)); in entry_get_attribute_value()
851 if (pkcs11_attr_has_indirect_attributes(cli_head.id)) { in entry_get_attribute_value()
857 if (!attribute_is_exportable(&cli_head, obj)) { in entry_get_attribute_value()
858 cli_head.size = PKCS11_CK_UNAVAILABLE_INFORMATION; in entry_get_attribute_value()
[all …]
H A Dattributes.c217 struct pkcs11_attribute_head cli_head = { }; in modify_attributes_list() local
219 TEE_MemMove(&cli_head, cur, sizeof(cli_head)); in modify_attributes_list()
220 len = sizeof(cli_head) + cli_head.size; in modify_attributes_list()
222 rc = set_attribute(dst, cli_head.id, in modify_attributes_list()
223 cli_head.size ? cli_ref->data : NULL, in modify_attributes_list()
224 cli_head.size); in modify_attributes_list()