Home
last modified time | relevance | path

Searched refs:get_class (Results 1 – 10 of 10) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dpkcs11_attributes.c502 class = get_class(temp); in create_storage_attributes()
561 assert(get_class(temp) == PKCS11_CKO_SECRET_KEY); in create_symm_key_attributes()
567 assert(get_class(*out) == PKCS11_CKO_SECRET_KEY); in create_symm_key_attributes()
605 assert(get_class(temp) == PKCS11_CKO_DATA); in create_data_attributes()
611 assert(get_class(*out) == PKCS11_CKO_DATA); in create_data_attributes()
632 assert(get_class(temp) == PKCS11_CKO_CERTIFICATE); in create_certificate_attributes()
638 assert(get_class(*out) == PKCS11_CKO_CERTIFICATE); in create_certificate_attributes()
743 assert(get_class(temp) == PKCS11_CKO_PUBLIC_KEY); in create_pub_key_attributes()
749 assert(get_class(*out) == PKCS11_CKO_PUBLIC_KEY); in create_pub_key_attributes()
863 assert(get_class(temp) == PKCS11_CKO_PRIVATE_KEY); in create_priv_key_attributes()
[all …]
H A Dattributes.h236 static inline enum pkcs11_class_id get_class(struct obj_attrs *head) in get_class() function
H A Dprocessing_digest.c168 if (get_class(obj->attributes) != PKCS11_CKO_SECRET_KEY) in step_digest_operation()
H A Dobject.c559 switch (get_class(req_attrs)) { in entry_find_objects_init()
570 id2str_class(get_class(req_attrs)), in entry_find_objects_init()
571 get_class(req_attrs)); in entry_find_objects_init()
1208 class = get_class(obj->attributes); in entry_copy_object()
H A Dprocessing_ec.c350 switch (get_class(obj->attributes)) { in load_tee_ec_key_attrs()
672 switch (get_class(obj->attributes)) { in load_tee_eddsa_key_attrs()
H A Dsanitize_object.c28 switch (get_class(attrs)) { in sanitize_consistent_class_and_type()
H A Dprocessing_asymm.c167 enum pkcs11_class_id class = get_class(obj->attributes); in pkcs2tee_key_type()
300 enum pkcs11_class_id __maybe_unused class = get_class(obj->attributes); in load_tee_key()
H A Dprocessing_rsa.c544 switch (get_class(obj->attributes)) { in load_tee_rsa_key_attrs()
H A Dprocessing_symm.c122 assert(get_class(obj->attributes) == PKCS11_CKO_SECRET_KEY); in pkcs2tee_key_type()
H A Dprocessing.c1230 switch (get_class(key->attributes)) { in entry_wrap_key()