Lines Matching full:head

66  * @head:	*@head holds the retrieved pointer
72 enum pkcs11_rc init_attributes_head(struct obj_attrs **head);
77 * @head: *@head points to serialized attributes,
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);
98 * @head: Pointer to serialized attributes
100 * @attr: Array of pointers to the data inside @head
116 void get_attribute_ptrs(struct obj_attrs *head, uint32_t attribute,
121 * @head: Pointer to serialized attributes
133 enum pkcs11_rc get_attribute_ptr(struct obj_attrs *head, uint32_t attribute,
138 * @head: Pointer to serialized attributes
158 enum pkcs11_rc get_attribute(struct obj_attrs *head, uint32_t attribute,
163 * @head: Pointer to serialized attributes where attribute is to be set,
171 enum pkcs11_rc set_attribute(struct obj_attrs **head, uint32_t attribute,
180 * @head: Serialized attributes containing attributes which need to be
186 struct obj_attrs *head);
190 * @head: Pointer to serialized attributes
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()
223 * Check attributes from @ref are all found or added in @head
227 enum pkcs11_rc attributes_match_add_reference(struct obj_attrs **head,
231 * @head: Pointer to serialized attributes
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()
249 * @head: Pointer to serialized attributes
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()
267 * @head: Pointer to serialized attributes
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()
285 * @head: Pointer to serialized attributes
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()
303 * @head: Pointer to serialized attributes
311 bool get_bool(struct obj_attrs *head, uint32_t attribute);