Searched refs:get_attribute_ptr (Results 1 – 8 of 8) sorted by relevance
| /optee_os/ta/pkcs11/src/ |
| H A D | pkcs11_attributes.c | 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() [all …]
|
| H A D | attributes.c | 152 enum pkcs11_rc get_attribute_ptr(struct obj_attrs *head, uint32_t attribute, in get_attribute_ptr() function 175 rc = get_attribute_ptr(head, attribute, &attr_ptr, &size); in get_attribute() 270 rc = get_attribute_ptr(candidate, pkcs11_ref.id, &value, &size); in attributes_match_reference() 299 rc = get_attribute_ptr(*head, pkcs11_ref.id, &value, &size); in attributes_match_add_reference()
|
| H A D | pkcs11_helpers.c | 565 if (get_attribute_ptr(obj->attributes, PKCS11_CKA_EC_PARAMS, in pkcs2tee_load_attr() 588 if (get_attribute_ptr(obj->attributes, in pkcs2tee_load_attr() 591 if (get_attribute_ptr(obj->attributes, in pkcs2tee_load_attr() 651 if (get_attribute_ptr(obj->attributes, pkcs11_id, &a_ptr, &a_size)) in pkcs2tee_load_attr() 677 rc = get_attribute_ptr(obj->attributes, pkcs11_id, &a_ptr, &a_size); in pkcs2tee_load_hashed_attr()
|
| H A D | processing_rsa.c | 520 rc = get_attribute_ptr(obj->attributes, crt_attr[n], &a_ptr, in contains_all_rsa_crt_parameters() 655 rc = get_attribute_ptr(*pub_head, PKCS11_CKA_PUBLIC_EXPONENT, &a_ptr, in tee2pkcs_rsa_attributes() 734 rc = get_attribute_ptr(*pub_head, PKCS11_CKA_MODULUS_BITS, &a_ptr, in generate_rsa_keys() 741 rc = get_attribute_ptr(*pub_head, PKCS11_CKA_PUBLIC_EXPONENT, &a_ptr, in generate_rsa_keys()
|
| H A D | processing.c | 146 if (get_attribute_ptr(attrs, PKCS11_CKA_VALUE, NULL, &a_size)) in get_object_key_bit_size() 151 if (get_attribute_ptr(attrs, PKCS11_CKA_MODULUS, NULL, &a_size)) in get_object_key_bit_size() 156 if (get_attribute_ptr(attrs, PKCS11_CKA_EC_PARAMS, in get_object_key_bit_size() 162 if (get_attribute_ptr(attrs, PKCS11_CKA_EC_POINT, NULL, in get_object_key_bit_size() 184 rc = get_attribute_ptr(*head, PKCS11_CKA_VALUE_LEN, &data, &data_size); in generate_random_key_value() 1257 rc = get_attribute_ptr(wrapping_key->attributes, in entry_wrap_key()
|
| H A D | attributes.h | 133 enum pkcs11_rc get_attribute_ptr(struct obj_attrs *head, uint32_t attribute,
|
| H A D | processing_digest.c | 177 rc = get_attribute_ptr(obj->attributes, PKCS11_CKA_VALUE, in step_digest_operation()
|
| H A D | processing_ec.c | 614 if (get_attribute_ptr(*pub_head, PKCS11_CKA_EC_PARAMS, in generate_ec_keys() 749 if (get_attribute_ptr(*pub_head, PKCS11_CKA_EC_PARAMS, in generate_eddsa_keys()
|