Home
last modified time | relevance | path

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

/openbmc/linux/crypto/asymmetric_keys/
H A Dasymmetric_type.c172 const struct asymmetric_key_id *kid2) 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()
189 const struct asymmetric_key_id *kid2) 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()
196 kid2->data, kid2->len) == 0; in asymmetric_key_id_partial()
210 const struct asymmetric_key_id *kid2)) in asymmetric_match_key_ids() argument
/openbmc/linux/include/keys/
H A Dasymmetric-type.h60 const struct asymmetric_key_id *kid2);
63 const struct asymmetric_key_id *kid2);