Home
last modified time | relevance | path

Searched refs:obj_attrs (Results 1 – 14 of 14) sorted by relevance

/optee_os-3.20.0/ta/pkcs11/src/
A Dpkcs11_attributes.h13 struct obj_attrs;
135 struct obj_attrs *head);
138 struct obj_attrs *head);
141 struct obj_attrs *key2);
154 struct obj_attrs *head);
157 struct obj_attrs *head);
168 bool object_is_private(struct obj_attrs *head);
170 bool object_is_token(struct obj_attrs *head);
174 bool object_is_copyable(struct obj_attrs *head);
184 struct obj_attrs *head,
[all …]
A Dattributes.h58 struct obj_attrs { struct
72 enum pkcs11_rc init_attributes_head(struct obj_attrs **head); argument
85 enum pkcs11_rc add_attribute(struct obj_attrs **head, uint32_t attribute,
116 void get_attribute_ptrs(struct obj_attrs *head, uint32_t attribute,
185 enum pkcs11_rc modify_attributes_list(struct obj_attrs **dst,
186 struct obj_attrs *head);
219 bool attributes_match_reference(struct obj_attrs *ref,
220 struct obj_attrs *candidate);
228 struct obj_attrs *ref);
236 static inline enum pkcs11_class_id get_class(struct obj_attrs *head) in get_class()
[all …]
A Dattributes.c22 enum pkcs11_rc init_attributes_head(struct obj_attrs **head) in init_attributes_head()
34 size_t buf_len = sizeof(struct obj_attrs) + (*head)->attrs_size; in add_attribute()
64 struct obj_attrs *h = *head; in _remove_attribute()
70 cur = (char *)h + sizeof(struct obj_attrs); in _remove_attribute()
107 char *cur = (char *)head + sizeof(struct obj_attrs); in get_attribute_ptrs()
208 struct obj_attrs *head) in modify_attributes_list()
210 char *cur = (char *)head + sizeof(struct obj_attrs); in modify_attributes_list()
233 bool get_bool(struct obj_attrs *head, uint32_t attribute) in get_bool()
249 struct obj_attrs *ref) in attributes_match_reference()
280 struct obj_attrs *ref) in attributes_match_add_reference()
[all …]
A Dpkcs11_attributes.c304 struct obj_attrs *temp, in set_attributes_opt_or_null()
481 struct obj_attrs *temp) in create_storage_attributes()
546 struct obj_attrs *temp) in create_symm_key_attributes()
723 struct obj_attrs *temp, in create_pub_key_attributes()
798 struct obj_attrs *temp) in create_priv_key_attributes()
931 struct obj_attrs *parent, in create_attributes_from_template()
936 struct obj_attrs *temp = NULL; in create_attributes_from_template()
1302 struct obj_attrs *head) in check_access_attrs_against_token()
1332 struct obj_attrs *head) in check_created_attrs_against_token()
1498 struct obj_attrs *key2) in check_created_attrs()
[all …]
A Dsanitize_object.h17 bool sanitize_consistent_class_and_type(struct obj_attrs *attrs);
39 enum pkcs11_rc sanitize_client_object(struct obj_attrs **dst, void *head,
A Dobject.h14 struct obj_attrs;
29 struct obj_attrs *attributes;
45 struct pkcs11_object *create_token_object(struct obj_attrs *head,
49 enum pkcs11_rc create_object(void *session, struct obj_attrs *attributes,
A Dprocessing.h121 enum pkcs11_rc tee2pkcs_add_attribute(struct obj_attrs **head,
208 struct obj_attrs **pub_head,
209 struct obj_attrs **priv_head);
212 struct obj_attrs **pub_head,
213 struct obj_attrs **priv_head);
254 struct obj_attrs **pub_head,
255 struct obj_attrs **priv_head);
261 struct obj_attrs **head);
A Dsanitize_object.c27 bool sanitize_consistent_class_and_type(struct obj_attrs *attrs) in sanitize_consistent_class_and_type()
72 static enum pkcs11_rc sanitize_class_and_type(struct obj_attrs **dst, void *src, in sanitize_class_and_type()
168 static enum pkcs11_rc sanitize_boolprops(struct obj_attrs **dst, void *src, in sanitize_boolprops()
226 static uint32_t sanitize_indirect_attr(struct obj_attrs **dst, in sanitize_indirect_attr()
230 struct obj_attrs *obj2 = NULL; in sanitize_indirect_attr()
249 enum pkcs11_rc sanitize_client_object(struct obj_attrs **dst, void *src, in sanitize_client_object()
A Dobject.c170 static struct pkcs11_object *create_obj_instance(struct obj_attrs *head, in create_obj_instance()
187 struct pkcs11_object *create_token_object(struct obj_attrs *head, in create_token_object()
206 enum pkcs11_rc create_object(void *sess, struct obj_attrs *head, in create_object()
245 size_t size = sizeof(struct obj_attrs) + in create_object()
310 struct obj_attrs *head = NULL; in entry_create_object()
501 struct obj_attrs *req_attrs = NULL; in entry_find_objects_init()
953 obj_size = ((struct obj_attrs *)obj->attributes)->attrs_size + in entry_get_object_size()
954 sizeof(struct obj_attrs); in entry_get_object_size()
974 struct obj_attrs *head = NULL; in entry_set_attribute_value()
1084 struct obj_attrs *head = NULL; in entry_copy_object()
[all …]
A Dprocessing_ec.c465 static enum pkcs11_rc tee2pkcs_ec_attributes(struct obj_attrs **pub_head, in tee2pkcs_ec_attributes()
466 struct obj_attrs **priv_head, in tee2pkcs_ec_attributes()
573 struct obj_attrs **pub_head, in generate_ec_keys()
574 struct obj_attrs **priv_head) in generate_ec_keys()
709 struct obj_attrs **pub_head, in generate_eddsa_keys()
710 struct obj_attrs **priv_head) in generate_eddsa_keys()
A Dprocessing.c128 struct obj_attrs *attrs = obj->attributes; in get_object_key_bit_size()
166 static enum pkcs11_rc generate_random_key_value(struct obj_attrs **head) in generate_random_key_value()
217 struct obj_attrs *head = NULL; in entry_generate_secret()
363 enum pkcs11_rc tee2pkcs_add_attribute(struct obj_attrs **head, in tee2pkcs_add_attribute()
400 struct obj_attrs *pub_head = NULL; in entry_generate_key_pair()
401 struct obj_attrs *priv_head = NULL; in entry_generate_key_pair()
813 struct obj_attrs *head = NULL; in entry_processing_key()
A Dprocessing_rsa.c612 static enum pkcs11_rc tee2pkcs_rsa_attributes(struct obj_attrs **pub_head, in tee2pkcs_rsa_attributes()
613 struct obj_attrs **priv_head, in tee2pkcs_rsa_attributes()
688 struct obj_attrs **pub_head, in generate_rsa_keys()
689 struct obj_attrs **priv_head) in generate_rsa_keys()
A Dpersistent_token.c474 struct obj_attrs *attr = NULL; in load_persistent_object_attributes()
561 size = sizeof(struct obj_attrs) + obj->attributes->attrs_size; in update_persistent_object_attributes()
A Dprocessing_asymm.c869 struct obj_attrs **head) in do_asymm_derivation()

Completed in 20 milliseconds