Searched refs:pkcs11_ref (Results 1 – 2 of 2) sorted by relevance
| /optee_os/ta/pkcs11/src/ |
| H A D | attributes.c | 72 struct pkcs11_attribute_head pkcs11_ref = { }; in _remove_attribute() local 74 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in _remove_attribute() 75 next_off = sizeof(pkcs11_ref) + pkcs11_ref.size; in _remove_attribute() 77 if (pkcs11_ref.id != attribute) in _remove_attribute() 80 if (empty && pkcs11_ref.size) in _remove_attribute() 116 struct pkcs11_attribute_head pkcs11_ref = { }; in get_attribute_ptrs() local 118 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in get_attribute_ptrs() 119 next_off = sizeof(pkcs11_ref) + pkcs11_ref.size; in get_attribute_ptrs() 121 if (pkcs11_ref.id != attribute) in get_attribute_ptrs() 130 if (pkcs11_ref.size) in get_attribute_ptrs() [all …]
|
| H A D | sanitize_object.c | 333 struct pkcs11_attribute_head pkcs11_ref; in __trace_attributes() local 338 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in __trace_attributes() 339 TEE_MemMove(&data[0], cur + sizeof(pkcs11_ref), in __trace_attributes() 340 MIN(pkcs11_ref.size, sizeof(data))); in __trace_attributes() 341 TEE_MemMove(&data_u32, cur + sizeof(pkcs11_ref), in __trace_attributes() 344 next = sizeof(pkcs11_ref) + pkcs11_ref.size; in __trace_attributes() 347 prefix, id2str_attr(pkcs11_ref.id), in __trace_attributes() 348 id2str_attr_value(pkcs11_ref.id, pkcs11_ref.size, in __trace_attributes() 349 cur + sizeof(pkcs11_ref)), in __trace_attributes() 350 pkcs11_ref.id, pkcs11_ref.size); in __trace_attributes() [all …]
|