/* asymmetric_key_id_same - Return true if two asymmetric keys IDs are the same. @kid_1, @kid_2: The key IDs to compare  */
bool asymmetric_key_id_same(const struct asymmetric_key_id *kid1, const struct asymmetric_key_id *kid2)
/* asymmetric_key_id_same - Return true if two asymmetric keys IDs are the same. @kid_1, @kid_2: The key IDs to compare  */
bool asymmetric_key_id_same(const struct asymmetric_key_id *kid1, const struct asymmetric_key_id *kid2)
{
	if (!kid1 || !kid2)
		return false;
	if (kid1->len != kid2->len)
		return false;
	return memcmp(kid1->data, kid2->data, kid1->len) == 0;
}