Home
last modified time | relevance | path

Searched refs:class (Results 1 – 9 of 9) sorted by relevance

/optee_os/ta/pkcs11/src/
A Dattributes.h238 uint32_t class = 0; in get_class() local
239 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()
A Dprocessing_asymm.c150 enum pkcs11_class_id class = get_class(obj->attributes); in pkcs2tee_key_type() local
153 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() local
254 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()
A Dsanitize_object.c90 uint32_t class = 0; in sanitize_class_and_type() local
92 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()
A Dpkcs11_attributes.c484 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() local
961 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() argument
2029 switch (class) { in attribute_is_modifiable()
2035 if (class == PKCS11_CKO_SECRET_KEY && in attribute_is_modifiable()
[all …]
A Dpkcs11_helpers.c442 bool pkcs11_class_has_type(uint32_t class) in pkcs11_class_has_type() argument
444 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() argument
461 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() argument
762 enum pkcs11_class_id class_id = class; in id2str_type()
A Dpkcs11_helpers.h93 const char *id2str_type(uint32_t id, uint32_t class);
A Dobject.c1091 enum pkcs11_class_id class = PKCS11_CKO_UNDEFINED_ID; in entry_copy_object() local
1164 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()
/optee_os/core/crypto/
A Dcrypto.c203 uint32_t class = TEE_ALG_GET_CLASS(algo); in crypto_cipher_get_block_size() local
205 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()
/optee_os/lib/libmbedtls/mbedtls/
A DLICENSE186 file or class name and description of purpose be included on the

Completed in 16 milliseconds