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()187 bool asymmetric_key_id_partial(const struct asymmetric_key_id *kid1, in asymmetric_key_id_partial() argument190 if (!kid1 || !kid2) in asymmetric_key_id_partial()192 if (kid1->len < kid2->len) in asymmetric_key_id_partial()194 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
61 extern bool asymmetric_key_id_same(const struct asymmetric_key_id *kid1,64 extern bool asymmetric_key_id_partial(const struct asymmetric_key_id *kid1,