Lines Matching refs:attrs

240 					       uint32_t const *attrs,  in set_mandatory_attributes()  argument
250 if (get_attribute_ptr(temp, attrs[n], &value, &size)) in set_mandatory_attributes()
253 rc = add_attribute(out, attrs[n], value, size); in set_mandatory_attributes()
275 uint32_t const *attrs, in set_optional_attributes_with_def() argument
286 rc = get_attribute_ptr(temp, attrs[n], &value, &size); in set_optional_attributes_with_def()
289 rc = get_default_value(attrs[n], &value, &size); in set_optional_attributes_with_def()
298 rc = add_attribute(out, attrs[n], value, size); in set_optional_attributes_with_def()
308 uint32_t const *attrs, in set_attributes_opt_or_null() argument
311 return set_optional_attributes_with_def(out, temp, attrs, attrs_count, in set_attributes_opt_or_null()
317 uint32_t const *attrs, in set_optional_attributes() argument
320 return set_optional_attributes_with_def(out, temp, attrs, attrs_count, in set_optional_attributes()
1186 struct obj_attrs *attrs = NULL; in create_attributes_from_template() local
1361 rc = create_data_attributes(&attrs, temp); in create_attributes_from_template()
1364 rc = create_certificate_attributes(&attrs, temp); in create_attributes_from_template()
1370 rc = create_symm_key_attributes(&attrs, temp); in create_attributes_from_template()
1373 rc = create_pub_key_attributes(&attrs, temp, function); in create_attributes_from_template()
1376 rc = create_pub_key_generated_attributes(&attrs, temp, in create_attributes_from_template()
1380 rc = create_priv_key_attributes(&attrs, temp); in create_attributes_from_template()
1383 rc = create_priv_key_hidden_attributes(&attrs, temp, function); in create_attributes_from_template()
1419 rc = add_attribute(&attrs, PKCS11_CKA_LOCAL, &local, sizeof(local)); in create_attributes_from_template()
1423 switch (get_class(attrs)) { in create_attributes_from_template()
1434 get_bool(attrs, PKCS11_CKA_SENSITIVE); in create_attributes_from_template()
1437 !get_bool(attrs, PKCS11_CKA_EXTRACTABLE); in create_attributes_from_template()
1452 rc = set_attribute(&attrs, in create_attributes_from_template()
1462 always_sensitive = get_bool(attrs, in create_attributes_from_template()
1464 never_extract = !get_bool(attrs, in create_attributes_from_template()
1471 rc = add_attribute(&attrs, PKCS11_CKA_ALWAYS_SENSITIVE, in create_attributes_from_template()
1476 rc = add_attribute(&attrs, PKCS11_CKA_NEVER_EXTRACTABLE, in create_attributes_from_template()
1487 rc = add_attribute(&attrs, PKCS11_CKA_KEY_GEN_MECHANISM, in create_attributes_from_template()
1497 *out = attrs; in create_attributes_from_template()
1500 trace_attributes("object", attrs); in create_attributes_from_template()
1506 TEE_Free(attrs); in create_attributes_from_template()