Searched refs:kid1 (Results 1 – 2 of 2) sorted by relevance
171 bool asymmetric_key_id_same(const struct asymmetric_key_id *kid1, in asymmetric_key_id_same() argument174 if (!kid1 || !kid2) in asymmetric_key_id_same()176 if (kid1->len != kid2->len) in asymmetric_key_id_same()178 return memcmp(kid1->data, kid2->data, kid1->len) == 0; in asymmetric_key_id_same()188 bool asymmetric_key_id_partial(const struct asymmetric_key_id *kid1, in asymmetric_key_id_partial() argument191 if (!kid1 || !kid2) in asymmetric_key_id_partial()193 if (kid1->len < kid2->len) in asymmetric_key_id_partial()195 return memcmp(kid1->data + (kid1->len - kid2->len), in asymmetric_key_id_partial()209 bool (*match)(const struct asymmetric_key_id *kid1, in asymmetric_match_key_ids() argument
59 extern bool asymmetric_key_id_same(const struct asymmetric_key_id *kid1,62 extern bool asymmetric_key_id_partial(const struct asymmetric_key_id *kid1,