Lines Matching refs:p
197 struct x509_certificate *x509 = sinfo->signer, *p; in pkcs7_verify_sig_chain() local
203 for (p = pkcs7->certs; p; p = p->next) in pkcs7_verify_sig_chain()
204 p->seen = false; in pkcs7_verify_sig_chain()
217 for (p = sinfo->signer; p != x509; p = p->signer) in pkcs7_verify_sig_chain()
218 p->blacklisted = true; in pkcs7_verify_sig_chain()
251 for (p = pkcs7->certs; p; p = p->next) { in pkcs7_verify_sig_chain()
253 p->index, p->id->len, p->id->data); in pkcs7_verify_sig_chain()
254 if (asymmetric_key_id_same(p->id, auth)) in pkcs7_verify_sig_chain()
260 for (p = pkcs7->certs; p; p = p->next) { in pkcs7_verify_sig_chain()
261 if (!p->skid) in pkcs7_verify_sig_chain()
264 p->index, p->skid->len, p->skid->data); in pkcs7_verify_sig_chain()
265 if (asymmetric_key_id_same(p->skid, auth)) in pkcs7_verify_sig_chain()
279 !asymmetric_key_id_same(p->skid, sig->auth_ids[1])) { in pkcs7_verify_sig_chain()
281 sinfo->index, x509->index, p->index); in pkcs7_verify_sig_chain()
285 pr_debug("- subject %s\n", p->subject); in pkcs7_verify_sig_chain()
286 if (p->seen) { in pkcs7_verify_sig_chain()
291 ret = public_key_verify_signature(p->pub, x509->sig); in pkcs7_verify_sig_chain()
294 x509->signer = p; in pkcs7_verify_sig_chain()
295 if (x509 == p) { in pkcs7_verify_sig_chain()
299 x509 = p; in pkcs7_verify_sig_chain()