Lines Matching refs:get_attribute_ptr
250 if (get_attribute_ptr(temp, attrs[n], &value, &size)) in set_mandatory_attributes()
286 rc = get_attribute_ptr(temp, attrs[n], &value, &size); in set_optional_attributes_with_def()
679 rc = get_attribute_ptr(*out, PKCS11_CKA_CERTIFICATE_CATEGORY, in create_certificate_attributes()
712 rc = get_attribute_ptr(*out, PKCS11_CKA_NAME_HASH_ALGORITHM, NULL, in create_certificate_attributes()
822 if (get_attribute_ptr(temp, PKCS11_CKA_MODULUS, in create_pub_key_rsa_generated_attributes()
955 if (get_attribute_ptr(temp, PKCS11_CKA_EC_PARAMS, in create_ec_priv_key_hidden_attributes()
991 if (get_attribute_ptr(temp, PKCS11_CKA_VALUE, in create_ec_priv_key_hidden_attributes()
1118 rc = get_attribute_ptr(*temp, PKCS11_CKA_VALUE, NULL, &a_size); in sanitize_symm_key_attributes()
1135 if (get_attribute_ptr(*temp, PKCS11_CKA_VALUE_LEN, NULL, in sanitize_symm_key_attributes()
1287 rc = get_attribute_ptr(parent, indirect_template, in create_attributes_from_template()
1395 if (get_attribute_ptr(temp, PKCS11_CKA_LOCAL, NULL, NULL) != in create_attributes_from_template()
1401 if (get_attribute_ptr(temp, PKCS11_CKA_KEY_GEN_MECHANISM, NULL, NULL) != in create_attributes_from_template()
1449 if (get_attribute_ptr(temp, PKCS11_CKA_EXTRACTABLE, in create_attributes_from_template()
1885 rc = get_attribute_ptr(head, PKCS11_CKA_ALLOWED_MECHANISMS, in parent_key_complies_allowed_processings()
2404 if (get_attribute_ptr(obj->attributes, cli_ref.id, NULL, in check_attrs_against_modification()
2675 rc = get_attribute_ptr(head, PKCS11_CKA_VALUE, &value, sz); in alloc_copy_attribute_value()
2719 rc = get_attribute_ptr(head, PKCS11_CKA_MODULUS, &n, &n_len); in encode_rsa_private_key_der()
2723 rc = get_attribute_ptr(head, PKCS11_CKA_PRIME_1, &p, &p_len); in encode_rsa_private_key_der()
2727 rc = get_attribute_ptr(head, PKCS11_CKA_PRIME_2, &q, &q_len); in encode_rsa_private_key_der()
2731 rc = get_attribute_ptr(head, PKCS11_CKA_PRIVATE_EXPONENT, &d, &d_len); in encode_rsa_private_key_der()
2735 rc = get_attribute_ptr(head, PKCS11_CKA_PUBLIC_EXPONENT, &e, &e_len); in encode_rsa_private_key_der()
2824 rc = get_attribute_ptr(*pub_head, PKCS11_CKA_ID, &id1, &id1_size); in add_missing_attribute_id()
2833 rc = get_attribute_ptr(*priv_head, PKCS11_CKA_ID, &id2, &id2_size); in add_missing_attribute_id()
2980 rc = get_attribute_ptr(*head, PKCS11_CKA_CHECK_VALUE, &kcv2, &kcv2_len); in set_check_value_attr()
2997 rc = get_attribute_ptr(*head, PKCS11_CKA_VALUE, &val, &val_len); in set_check_value_attr()