Searched refs:kids (Results 1 – 2 of 2) sorted by relevance
118 const struct asymmetric_key_ids *kids = asymmetric_key_ids(key); in find_asymmetric_key() local120 if (!kids->id[1]) { in find_asymmetric_key()124 if (!asymmetric_key_id_same(id_1, kids->id[1])) { in find_asymmetric_key()207 const struct asymmetric_key_ids *kids, in asymmetric_match_key_ids() argument214 if (!kids || !match_id) in asymmetric_match_key_ids()217 if (match(kids->id[i], match_id)) in asymmetric_match_key_ids()265 const struct asymmetric_key_ids *kids = asymmetric_key_ids(key); in asymmetric_key_cmp() local268 return asymmetric_match_key_ids(kids, match_id, in asymmetric_key_cmp()278 const struct asymmetric_key_ids *kids = asymmetric_key_ids(key); in asymmetric_key_cmp_partial() local281 return asymmetric_match_key_ids(kids, match_id, in asymmetric_key_cmp_partial()[all …]
151 struct asymmetric_key_ids *kids; in x509_key_preparse() local203 kids = kmalloc(sizeof(struct asymmetric_key_ids), GFP_KERNEL); in x509_key_preparse()204 if (!kids) in x509_key_preparse()206 kids->id[0] = cert->id; in x509_key_preparse()207 kids->id[1] = cert->skid; in x509_key_preparse()208 kids->id[2] = asymmetric_key_generate_id(cert->raw_subject, in x509_key_preparse()211 if (IS_ERR(kids->id[2])) { in x509_key_preparse()212 ret = PTR_ERR(kids->id[2]); in x509_key_preparse()219 prep->payload.data[asym_key_ids] = kids; in x509_key_preparse()231 kids = NULL; in x509_key_preparse()[all …]