Lines Matching refs:add_attribute

218 	return add_attribute(out, attribute, attr, sizeof(uint8_t));  in pkcs11_import_object_boolprop()
253 rc = add_attribute(out, attrs[n], value, size); in set_mandatory_attributes()
298 rc = add_attribute(out, attrs[n], value, size); in set_optional_attributes_with_def()
508 rc = add_attribute(out, PKCS11_CKA_CLASS, &class, sizeof(uint32_t)); in create_storage_attributes()
537 rc = add_attribute(out, PKCS11_CKA_KEY_TYPE, &type, sizeof(uint32_t)); in create_genkey_attributes()
830 return add_attribute(out, PKCS11_CKA_MODULUS_BITS, &key_bits, in create_pub_key_rsa_generated_attributes()
1076 rc = add_attribute(out, PKCS11_CKA_OPTEE_HIDDEN_EC_POINT, ptr, in create_ec_priv_key_hidden_attributes()
1139 return add_attribute(temp, PKCS11_CKA_VALUE_LEN, in sanitize_symm_key_attributes()
1419 rc = add_attribute(&attrs, PKCS11_CKA_LOCAL, &local, sizeof(local)); 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()
2493 rc = add_attribute(head, PKCS11_CKA_VALUE, data, key_length); in set_secret_key_data()
2574 rc = add_attribute(head, PKCS11_CKA_MODULUS, buffer, size); in set_private_key_data_rsa()
2590 rc = add_attribute(head, PKCS11_CKA_PUBLIC_EXPONENT, buffer, size); in set_private_key_data_rsa()
2606 rc = add_attribute(head, PKCS11_CKA_PRIVATE_EXPONENT, buffer, size); in set_private_key_data_rsa()
2622 rc = add_attribute(head, PKCS11_CKA_PRIME_1, buffer, size); in set_private_key_data_rsa()
2638 rc = add_attribute(head, PKCS11_CKA_PRIME_2, buffer, size); in set_private_key_data_rsa()
3035 rc = add_attribute(head, PKCS11_CKA_CHECK_VALUE, kcv, in set_check_value_attr()