Home
last modified time | relevance | path

Searched refs:kid1 (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/crypto/asymmetric_keys/
Dasymmetric_type.c171 bool asymmetric_key_id_same(const struct asymmetric_key_id *kid1, in asymmetric_key_id_same() argument
174 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() argument
191 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
/linux-5.19.10/include/keys/
Dasymmetric-type.h59 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,