Lines Matching refs:get_class
502 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()
869 assert(get_class(*out) == PKCS11_CKO_PRIVATE_KEY); in create_priv_key_attributes()
1116 assert(get_class(*temp) == PKCS11_CKO_SECRET_KEY); in sanitize_symm_key_attributes()
1304 if (get_class(temp) != PKCS11_CKO_SECRET_KEY || in create_attributes_from_template()
1311 if (get_class(temp) != PKCS11_CKO_SECRET_KEY || in create_attributes_from_template()
1318 if ((get_class(temp) != PKCS11_CKO_PUBLIC_KEY && in create_attributes_from_template()
1319 get_class(temp) != PKCS11_CKO_PRIVATE_KEY) || in create_attributes_from_template()
1326 if ((get_class(temp) != PKCS11_CKO_PUBLIC_KEY && in create_attributes_from_template()
1327 get_class(temp) != PKCS11_CKO_PRIVATE_KEY) || in create_attributes_from_template()
1334 if ((get_class(temp) != PKCS11_CKO_PUBLIC_KEY && in create_attributes_from_template()
1335 get_class(temp) != PKCS11_CKO_PRIVATE_KEY) || in create_attributes_from_template()
1359 switch (get_class(temp)) { in create_attributes_from_template()
1387 get_class(temp), id2str_class(get_class(temp))); in create_attributes_from_template()
1423 switch (get_class(attrs)) { in create_attributes_from_template()
1562 switch (get_class(head)) { in check_access_attrs_against_token()
1762 switch (get_class(key1)) { in check_created_attrs()
1777 switch (get_class(key2)) { in check_created_attrs()
1933 enum pkcs11_class_id key_class = get_class(head); in check_parent_attrs_against_processing()
2127 enum pkcs11_class_id key_class = get_class(obj->attributes); in attribute_is_exportable()
2383 class = get_class(obj->attributes); in check_attrs_against_modification()
2654 switch (get_class(*head)) { in set_key_data()
2797 switch (get_class(head)) { in alloc_key_data_to_wrap()
2970 switch (get_class(*head)) { in set_check_value_attr()
3001 if (get_class(*head) == PKCS11_CKO_SECRET_KEY) { in set_check_value_attr()