Lines Matching refs:add_attribute

215 	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()
497 rc = add_attribute(out, PKCS11_CKA_CLASS, &class, sizeof(uint32_t)); in create_storage_attributes()
526 rc = add_attribute(out, PKCS11_CKA_KEY_TYPE, &type, sizeof(uint32_t)); in create_genkey_attributes()
890 return add_attribute(temp, PKCS11_CKA_VALUE_LEN, in sanitize_symm_key_attributes()
1163 rc = add_attribute(&attrs, PKCS11_CKA_LOCAL, &local, sizeof(local)); in create_attributes_from_template()
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()
2316 rc = add_attribute(head, PKCS11_CKA_PUBLIC_EXPONENT, buffer, size); in set_private_key_data_rsa()
2332 rc = add_attribute(head, PKCS11_CKA_PRIVATE_EXPONENT, 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()
2364 rc = add_attribute(head, PKCS11_CKA_PRIME_2, buffer, size); in set_private_key_data_rsa()