Searched refs:get_attribute (Results 1 – 5 of 5) sorted by relevance
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | attributes.h | 158 enum pkcs11_rc get_attribute(struct obj_attrs *head, uint32_t attribute, 207 enum pkcs11_rc rc = get_attribute(head, attribute, attr, &size); in get_u32_attribute() 241 if (get_attribute(head, PKCS11_CKA_CLASS, &class, &size)) in get_class() 259 if (get_attribute(head, PKCS11_CKA_KEY_TYPE, &type, &size)) in get_key_type() 295 if (get_attribute(head, PKCS11_CKA_MECHANISM_TYPE, &type, &size)) in get_mechanism_type()
|
A D | attributes.c | 169 enum pkcs11_rc get_attribute(struct obj_attrs *head, uint32_t attribute, in get_attribute() function 239 rc = get_attribute(head, attribute, &bbool, &size); in get_bool()
|
A D | pkcs11_attributes.c | 203 rc = get_attribute(templ, attribute, &bbool, &size); in pkcs11_import_object_boolprop() 1366 _rc = get_attribute((head), _attr, &_bvalue, NULL); \ 1379 if (!get_attribute(head, attribute, &bbool, &sz) && !!bbool == val) in check_attr_bval() 1886 rc = get_attribute(obj->attributes, PKCS11_CKA_EXTRACTABLE, in attribute_is_exportable() 1892 rc = get_attribute(obj->attributes, PKCS11_CKA_SENSITIVE, in attribute_is_exportable() 2011 rc = get_attribute(obj->attributes, PKCS11_CKA_TRUSTED, in attr_is_modifiable_certificate() 2204 rc = get_attribute(*head, PKCS11_CKA_VALUE_LEN, &key_length, &size); in set_secret_key_data()
|
A D | object.c | 856 rc = get_attribute(obj->attributes, cli_head.id, data_ptr, in entry_get_attribute_value() 1177 rc = get_attribute(head, PKCS11_CKA_EXTRACTABLE, &bbool, &size); in entry_copy_object()
|
/optee_os-3.20.0/core/tee/ |
A D | tee_svc_cryp.c | 1192 static uint32_t get_attribute(const struct tee_obj *o, in get_attribute() function 2030 if (get_attribute(o, type_props, TEE_ATTR_RSA_PUBLIC_EXPONENT)) { in tee_svc_obj_generate_key_rsa() 2086 if (get_attribute(o, type_props, TEE_ATTR_DH_SUBPRIME)) in tee_svc_obj_generate_key_dh() 2088 if (get_attribute(o, type_props, TEE_ATTR_DH_X_BITS)) in tee_svc_obj_generate_key_dh()
|
Completed in 20 milliseconds