Searched refs:class (Results 1 – 9 of 9) sorted by relevance
238 uint32_t class = 0; in get_class() local239 uint32_t size = sizeof(class); in get_class()241 if (get_attribute(head, PKCS11_CKA_CLASS, &class, &size)) in get_class()244 return class; in get_class()
150 enum pkcs11_class_id class = get_class(obj->attributes); in pkcs2tee_key_type() local153 switch (class) { in pkcs2tee_key_type()158 TEE_Panic(class); in pkcs2tee_key_type()166 if (class == PKCS11_CKO_PRIVATE_KEY) in pkcs2tee_key_type()172 if (class == PKCS11_CKO_PRIVATE_KEY) in pkcs2tee_key_type()251 enum pkcs11_class_id __maybe_unused class = get_class(obj->attributes); in load_tee_key() local254 assert(class == PKCS11_CKO_PUBLIC_KEY || in load_tee_key()255 class == PKCS11_CKO_PRIVATE_KEY); in load_tee_key()262 class == PKCS11_CKO_PUBLIC_KEY) || in load_tee_key()264 class == PKCS11_CKO_PRIVATE_KEY)); in load_tee_key()
90 uint32_t class = 0; in sanitize_class_and_type() local92 if (cli_ref.size != sizeof(class)) { in sanitize_class_and_type()97 TEE_MemMove(&class, data, sizeof(class)); in sanitize_class_and_type()100 class_found != class) { in sanitize_class_and_type()106 class_found = class; in sanitize_class_and_type()
484 class = get_class(temp); in create_storage_attributes()485 if (class == PKCS11_CKO_UNDEFINED_ID) { in create_storage_attributes()929 uint32_t class = PKCS11_UNDEFINED_ID; in create_attributes_from_template() local961 class = PKCS11_CKO_SECRET_KEY; in create_attributes_from_template()965 class = PKCS11_CKO_SECRET_KEY; in create_attributes_from_template()982 class = template_class; in create_attributes_from_template()986 class = template_class; in create_attributes_from_template()2003 enum pkcs11_class_id class, in attribute_is_modifiable() argument2029 switch (class) { in attribute_is_modifiable()2035 if (class == PKCS11_CKO_SECRET_KEY && in attribute_is_modifiable()[all …]
442 bool pkcs11_class_has_type(uint32_t class) in pkcs11_class_has_type() argument444 enum pkcs11_class_id class_id = class; in pkcs11_class_has_type()459 bool pkcs11_attr_class_is_key(uint32_t class) in pkcs11_attr_class_is_key() argument461 enum pkcs11_class_id class_id = class; in pkcs11_attr_class_is_key()760 const char *id2str_type(uint32_t id, uint32_t class) in id2str_type() argument762 enum pkcs11_class_id class_id = class; in id2str_type()
93 const char *id2str_type(uint32_t id, uint32_t class);
1091 enum pkcs11_class_id class = PKCS11_CKO_UNDEFINED_ID; in entry_copy_object() local1164 class = get_class(obj->attributes); in entry_copy_object()1166 if (class == PKCS11_CKO_SECRET_KEY || in entry_copy_object()1167 class == PKCS11_CKO_PRIVATE_KEY) { in entry_copy_object()
203 uint32_t class = TEE_ALG_GET_CLASS(algo); in crypto_cipher_get_block_size() local205 if (class != TEE_OPERATION_CIPHER && class != TEE_OPERATION_MAC && in crypto_cipher_get_block_size()206 class != TEE_OPERATION_AE) in crypto_cipher_get_block_size()
186 file or class name and description of purpose be included on the
Completed in 17 milliseconds