Searched refs:cli_head (Results 1 – 2 of 2) sorted by relevance
/optee_os/ta/pkcs11/src/ |
A D | attributes.c | 218 struct pkcs11_attribute_head cli_head = { }; in modify_attributes_list() local 220 TEE_MemMove(&cli_head, cur, sizeof(cli_head)); in modify_attributes_list() 221 len = sizeof(cli_head) + cli_head.size; in modify_attributes_list() 223 rc = set_attribute(dst, cli_head.id, in modify_attributes_list() 224 cli_head.size ? cli_ref->data : NULL, in modify_attributes_list() 225 cli_head.size); in modify_attributes_list()
|
A D | object.c | 826 struct pkcs11_attribute_head cli_head = { }; in entry_get_attribute_value() local 830 TEE_MemMove(&cli_head, cli_ref, sizeof(cli_head)); in entry_get_attribute_value() 832 len = sizeof(*cli_ref) + cli_head.size; in entry_get_attribute_value() 841 if (!attribute_is_exportable(&cli_head, obj)) { in entry_get_attribute_value() 842 cli_head.size = PKCS11_CK_UNAVAILABLE_INFORMATION; in entry_get_attribute_value() 843 TEE_MemMove(&cli_ref->size, &cli_head.size, in entry_get_attribute_value() 844 sizeof(cli_head.size)); in entry_get_attribute_value() 850 data_ptr = cli_head.size ? cli_ref->data : NULL; in entry_get_attribute_value() 857 &cli_head.size); in entry_get_attribute_value() 875 TEE_MemMove(&cli_ref->size, &cli_head.size, in entry_get_attribute_value() [all …]
|
Completed in 5 milliseconds