Home
last modified time | relevance | path

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

/crypto/asymmetric_keys/
Dasymmetric_type.c118 const struct asymmetric_key_ids *kids = asymmetric_key_ids(key); in find_asymmetric_key() local
120 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() argument
214 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() local
268 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() local
281 return asymmetric_match_key_ids(kids, match_id, in asymmetric_key_cmp_partial()
[all …]
Dx509_public_key.c151 struct asymmetric_key_ids *kids; in x509_key_preparse() local
203 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 …]