Home
last modified time | relevance | path

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

/u-boot/include/keys/
A Dasymmetric-type.h61 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,
/u-boot/lib/crypto/
A Dasymmetric_type.c175 bool asymmetric_key_id_same(const struct asymmetric_key_id *kid1, in asymmetric_key_id_same() argument
178 if (!kid1 || !kid2) in asymmetric_key_id_same()
180 if (kid1->len != kid2->len) in asymmetric_key_id_same()
182 return memcmp(kid1->data, kid2->data, kid1->len) == 0; in asymmetric_key_id_same()
191 bool asymmetric_key_id_partial(const struct asymmetric_key_id *kid1, in asymmetric_key_id_partial() argument
194 if (!kid1 || !kid2) in asymmetric_key_id_partial()
196 if (kid1->len < kid2->len) in asymmetric_key_id_partial()
198 return memcmp(kid1->data + (kid1->len - kid2->len), in asymmetric_key_id_partial()
213 bool (*match)(const struct asymmetric_key_id *kid1, in asymmetric_match_key_ids() argument

Completed in 4 milliseconds