Lines Matching refs:source_slot
2217 psa_key_slot_t *source_slot = NULL; in psa_copy_key() local
2226 source_key, &source_slot, PSA_KEY_USAGE_COPY, 0); in psa_copy_key()
2231 status = psa_validate_optional_attributes(source_slot, in psa_copy_key()
2242 actual_attributes.bits = source_slot->attr.bits; in psa_copy_key()
2243 actual_attributes.type = source_slot->attr.type; in psa_copy_key()
2246 status = psa_restrict_key_policy(source_slot->attr.type, in psa_copy_key()
2248 &source_slot->attr.policy); in psa_copy_key()
2259 PSA_KEY_LIFETIME_GET_LOCATION(source_slot->attr.lifetime)) { in psa_copy_key()
2289 source_slot->key.data, in psa_copy_key()
2290 source_slot->key.bytes, in psa_copy_key()
2299 source_slot->key.data, in psa_copy_key()
2300 source_slot->key.bytes); in psa_copy_key()
2311 unlock_status = psa_unregister_read_under_mutex(source_slot); in psa_copy_key()