/* Match asymmetric keys by a partial match on an IDs.  */
static bool asymmetric_key_cmp_partial(const struct key *key, const struct key_match_data *match_data)
/* Match asymmetric keys by a partial match on an IDs.  */
static bool asymmetric_key_cmp_partial(const struct key *key, const struct key_match_data *match_data)
{
	const struct asymmetric_key_ids *kids = asymmetric_key_ids(key);
	const struct asymmetric_key_id *match_id = match_data->preparsed;
	return asymmetric_match_key_ids(kids, match_id,
					asymmetric_key_id_partial);
}