Lines Matching refs:x509
161 struct x509_certificate *x509; in pkcs7_find_key() local
166 for (x509 = pkcs7->certs; x509; x509 = x509->next, certix++) { in pkcs7_find_key()
172 if (!asymmetric_key_id_same(x509->id, sinfo->sig->auth_ids[0])) in pkcs7_find_key()
177 sinfo->signer = x509; in pkcs7_find_key()
197 struct x509_certificate *x509 = sinfo->signer, *p; in pkcs7_verify_sig_chain() local
208 x509->subject, in pkcs7_verify_sig_chain()
209 x509->raw_serial_size, x509->raw_serial); in pkcs7_verify_sig_chain()
210 x509->seen = true; in pkcs7_verify_sig_chain()
212 if (x509->blacklisted) { in pkcs7_verify_sig_chain()
217 for (p = sinfo->signer; p != x509; p = p->signer) in pkcs7_verify_sig_chain()
223 pr_debug("- issuer %s\n", x509->issuer); in pkcs7_verify_sig_chain()
224 sig = x509->sig; in pkcs7_verify_sig_chain()
232 if (x509->self_signed) { in pkcs7_verify_sig_chain()
238 if (x509->unsupported_sig) in pkcs7_verify_sig_chain()
240 x509->signer = x509; in pkcs7_verify_sig_chain()
281 sinfo->index, x509->index, p->index); 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()