Lines Matching refs:head
72 enum pkcs11_rc init_attributes_head(struct obj_attrs **head);
85 enum pkcs11_rc add_attribute(struct obj_attrs **head, uint32_t attribute,
94 enum pkcs11_rc remove_empty_attribute(struct obj_attrs **head, uint32_t attrib);
116 void get_attribute_ptrs(struct obj_attrs *head, uint32_t attribute,
133 enum pkcs11_rc get_attribute_ptr(struct obj_attrs *head, uint32_t attribute,
158 enum pkcs11_rc get_attribute(struct obj_attrs *head, uint32_t attribute,
171 enum pkcs11_rc set_attribute(struct obj_attrs **head, uint32_t attribute,
186 struct obj_attrs *head);
202 static inline enum pkcs11_rc get_u32_attribute(struct obj_attrs *head, in get_u32_attribute() argument
207 enum pkcs11_rc rc = get_attribute(head, attribute, attr, &size); in get_u32_attribute()
227 enum pkcs11_rc attributes_match_add_reference(struct obj_attrs **head,
236 static inline enum pkcs11_class_id get_class(struct obj_attrs *head) in get_class() argument
241 if (get_attribute(head, PKCS11_CKA_CLASS, &class, &size)) in get_class()
254 static inline enum pkcs11_key_type get_key_type(struct obj_attrs *head) in get_key_type() argument
259 if (get_attribute(head, PKCS11_CKA_KEY_TYPE, &type, &size)) in get_key_type()
273 enum pkcs11_certificate_type get_certificate_type(struct obj_attrs *head) in get_certificate_type() argument
277 if (get_u32_attribute(head, PKCS11_CKA_CERTIFICATE_TYPE, &type)) in get_certificate_type()
290 static inline enum pkcs11_mechanism_id get_mechanism_type(struct obj_attrs *head) in get_mechanism_type() argument
295 if (get_attribute(head, PKCS11_CKA_MECHANISM_TYPE, &type, &size)) in get_mechanism_type()
311 bool get_bool(struct obj_attrs *head, uint32_t attribute);