Home
last modified time | relevance | path

Searched refs:get_attribute (Results 1 – 5 of 5) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dattributes.h158 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()
H A Dattributes.c168 enum pkcs11_rc get_attribute(struct obj_attrs *head, uint32_t attribute, in get_attribute() function
238 rc = get_attribute(head, attribute, &bbool, &size); in get_bool()
H A Dpkcs11_attributes.c206 rc = get_attribute(templ, attribute, &bbool, &size); in pkcs11_import_object_boolprop()
1619 _rc = get_attribute((head), _attr, &_bvalue, NULL); \
1632 if (!get_attribute(head, attribute, &bbool, &sz) && !!bbool == val) in check_attr_bval()
2145 rc = get_attribute(obj->attributes, PKCS11_CKA_EXTRACTABLE, in attribute_is_exportable()
2151 rc = get_attribute(obj->attributes, PKCS11_CKA_SENSITIVE, in attribute_is_exportable()
2271 rc = get_attribute(obj->attributes, PKCS11_CKA_TRUSTED, in attr_is_modifiable_certificate()
2468 rc = get_attribute(*head, PKCS11_CKA_VALUE_LEN, &key_length, &size); in set_secret_key_data()
H A Dobject.c872 rc = get_attribute(obj->attributes, cli_head.id, data_ptr, in entry_get_attribute_value()
1221 rc = get_attribute(head, PKCS11_CKA_EXTRACTABLE, &bbool, &size); in entry_copy_object()
/optee_os/core/tee/
H A Dtee_svc_cryp.c1271 static uint32_t get_attribute(const struct tee_obj *o, in get_attribute() function
2137 if (get_attribute(o, type_props, TEE_ATTR_RSA_PUBLIC_EXPONENT)) { in tee_svc_obj_generate_key_rsa()
2196 if (get_attribute(o, type_props, TEE_ATTR_DH_SUBPRIME)) in tee_svc_obj_generate_key_dh()
2198 if (get_attribute(o, type_props, TEE_ATTR_DH_X_BITS)) in tee_svc_obj_generate_key_dh()