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()
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()
164 enum pkcs11_class_id class = get_class(obj->attributes); in pkcs2tee_key_type() local167 switch (class) { in pkcs2tee_key_type()172 TEE_Panic(class); in pkcs2tee_key_type()178 if (class == PKCS11_CKO_PRIVATE_KEY) { in pkcs2tee_key_type()191 if (class == PKCS11_CKO_PRIVATE_KEY) in pkcs2tee_key_type()197 if (class == PKCS11_CKO_PRIVATE_KEY) in pkcs2tee_key_type()276 enum pkcs11_class_id __maybe_unused class = get_class(obj->attributes); in load_tee_key() local279 assert(class == PKCS11_CKO_PUBLIC_KEY || in load_tee_key()280 class == PKCS11_CKO_PRIVATE_KEY); in load_tee_key()287 class == PKCS11_CKO_PUBLIC_KEY) || in load_tee_key()[all …]
491 class = get_class(temp); in create_storage_attributes()492 if (class == PKCS11_CKO_UNDEFINED_ID) { in create_storage_attributes()943 uint32_t class = PKCS11_UNDEFINED_ID; in create_attributes_from_template() local975 class = PKCS11_CKO_SECRET_KEY; in create_attributes_from_template()979 class = PKCS11_CKO_SECRET_KEY; in create_attributes_from_template()996 class = template_class; in create_attributes_from_template()1000 class = template_class; in create_attributes_from_template()1004 class = template_class; in create_attributes_from_template()2059 enum pkcs11_class_id class, in attribute_is_modifiable() argument2085 switch (class) { in attribute_is_modifiable()[all …]
444 bool pkcs11_class_has_type(uint32_t class) in pkcs11_class_has_type() argument446 enum pkcs11_class_id class_id = class; in pkcs11_class_has_type()461 bool pkcs11_attr_class_is_key(uint32_t class) in pkcs11_attr_class_is_key() argument463 enum pkcs11_class_id class_id = class; in pkcs11_attr_class_is_key()763 const char *id2str_type(uint32_t id, uint32_t class) in id2str_type() argument765 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()
206 uint32_t class = TEE_ALG_GET_CLASS(algo); in crypto_cipher_get_block_size() local208 if (class != TEE_OPERATION_CIPHER && class != TEE_OPERATION_MAC && in crypto_cipher_get_block_size()209 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 16 milliseconds