Lines Matching refs:x509
27 struct x509_certificate *x509, *last = NULL, *p; in pkcs7_validate_trust_one() local
38 for (x509 = sinfo->signer; x509; x509 = x509->signer) { in pkcs7_validate_trust_one()
39 if (x509->seen) { in pkcs7_validate_trust_one()
40 if (x509->verified) in pkcs7_validate_trust_one()
45 x509->seen = true; in pkcs7_validate_trust_one()
51 x509->id, x509->skid, NULL, false); in pkcs7_validate_trust_one()
59 sinfo->index, x509->index, key_serial(key)); in pkcs7_validate_trust_one()
68 if (x509->signer == x509) { in pkcs7_validate_trust_one()
74 last = x509; in pkcs7_validate_trust_one()
87 x509 = last; in pkcs7_validate_trust_one()
89 sinfo->index, x509->index, key_serial(key)); in pkcs7_validate_trust_one()
104 x509 = NULL; in pkcs7_validate_trust_one()
125 if (x509) { in pkcs7_validate_trust_one()
126 x509->verified = true; in pkcs7_validate_trust_one()
127 for (p = sinfo->signer; p != x509; p = p->signer) in pkcs7_validate_trust_one()