Home
last modified time | relevance | path

Searched refs:add_attribute (Results 1 – 8 of 8) sorted by relevance

/optee_os-3.20.0/ta/pkcs11/src/
A Dsanitize_object.c133 rc = add_attribute(dst, PKCS11_CKA_CLASS, in sanitize_class_and_type()
139 rc = add_attribute(dst, PKCS11_CKA_CLASS, in sanitize_class_and_type()
147 rc = add_attribute(dst, PKCS11_CKA_KEY_TYPE, in sanitize_class_and_type()
153 rc = add_attribute(dst, PKCS11_CKA_KEY_TYPE, in sanitize_class_and_type()
215 rc = add_attribute(dst, cli_ref.id, &pkcs11_bool, in sanitize_boolprops()
242 rc = add_attribute(dst, cli_ref->id, obj2, in sanitize_indirect_attr()
305 rc = add_attribute(dst, cli_ref.id, data, cli_ref.size); in sanitize_client_object()
A Dpkcs11_attributes.c215 return add_attribute(out, attribute, attr, sizeof(uint8_t)); in pkcs11_import_object_boolprop()
250 rc = add_attribute(out, attrs[n], value, size); in set_mandatory_attributes()
295 rc = add_attribute(out, attrs[n], value, size); in set_optional_attributes_with_def()
890 return add_attribute(temp, PKCS11_CKA_VALUE_LEN, in sanitize_symm_key_attributes()
1215 rc = add_attribute(&attrs, PKCS11_CKA_ALWAYS_SENSITIVE, in create_attributes_from_template()
1220 rc = add_attribute(&attrs, PKCS11_CKA_NEVER_EXTRACTABLE, in create_attributes_from_template()
1231 rc = add_attribute(&attrs, PKCS11_CKA_KEY_GEN_MECHANISM, in create_attributes_from_template()
2229 return add_attribute(head, PKCS11_CKA_VALUE, data, key_length); in set_secret_key_data()
2300 rc = add_attribute(head, PKCS11_CKA_MODULUS, buffer, size); in set_private_key_data_rsa()
2348 rc = add_attribute(head, PKCS11_CKA_PRIME_1, buffer, size); in set_private_key_data_rsa()
[all …]
A Dprocessing_ec.c556 rc = add_attribute(priv_head, PKCS11_CKA_EC_POINT, ecpoint, dersize); in tee2pkcs_ec_attributes()
560 rc = add_attribute(pub_head, PKCS11_CKA_EC_POINT, ecpoint, dersize); in tee2pkcs_ec_attributes()
632 rc = add_attribute(priv_head, PKCS11_CKA_EC_PARAMS, a_ptr, a_size); in generate_ec_keys()
762 rc = add_attribute(priv_head, PKCS11_CKA_EC_PARAMS, a_ptr, a_size); in generate_eddsa_keys()
A Dattributes.c31 enum pkcs11_rc add_attribute(struct obj_attrs **head, uint32_t attribute, in add_attribute() function
204 return add_attribute(head, attribute, data, size); in set_attribute()
298 rc = add_attribute(head, pkcs11_ref.id, in attributes_match_add_reference()
A Dattributes.h85 enum pkcs11_rc add_attribute(struct obj_attrs **head, uint32_t attribute,
A Dprocessing.c197 rc = add_attribute(head, PKCS11_CKA_VALUE, value, value_len); in generate_random_key_value()
376 rc = add_attribute(head, pkcs11_id, a_ptr, a_size); in tee2pkcs_add_attribute()
A Dprocessing_asymm.c931 rc = add_attribute(head, PKCS11_CKA_VALUE, a_ptr, in do_asymm_derivation()
A Dobject.c1179 rc = add_attribute(&head, PKCS11_CKA_NEVER_EXTRACTABLE, in entry_copy_object()

Completed in 32 milliseconds