Searched refs:x509 (Results 1 – 4 of 4) sorted by relevance
/crypto/asymmetric_keys/ |
D | pkcs7_trust.c | 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, 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() [all …]
|
D | pkcs7_verify.c | 162 struct x509_certificate *x509; in pkcs7_find_key() local 167 for (x509 = pkcs7->certs; x509; x509 = x509->next, certix++) { in pkcs7_find_key() 173 if (!asymmetric_key_id_same(x509->id, sinfo->sig->auth_ids[0])) in pkcs7_find_key() 178 if (strcmp(x509->pub->pkey_algo, sinfo->sig->pkey_algo) != 0) { in pkcs7_find_key() 184 sinfo->signer = x509; in pkcs7_find_key() 204 struct x509_certificate *x509 = sinfo->signer, *p; in pkcs7_verify_sig_chain() local 215 x509->subject, in pkcs7_verify_sig_chain() 216 x509->raw_serial_size, x509->raw_serial); in pkcs7_verify_sig_chain() 217 x509->seen = true; in pkcs7_verify_sig_chain() 219 if (x509->blacklisted) { in pkcs7_verify_sig_chain() [all …]
|
D | Makefile | 21 x509.asn1.o \ 27 $(obj)/x509.asn1.h \ 30 $(obj)/x509.asn1.o: $(obj)/x509.asn1.c $(obj)/x509.asn1.h
|
D | pkcs7_parser.c | 381 struct x509_certificate *x509; in pkcs7_extract_cert() local 400 x509 = x509_cert_parse(value, vlen); in pkcs7_extract_cert() 401 if (IS_ERR(x509)) in pkcs7_extract_cert() 402 return PTR_ERR(x509); in pkcs7_extract_cert() 404 x509->index = ++ctx->x509_index; in pkcs7_extract_cert() 405 pr_debug("Got cert %u for %s\n", x509->index, x509->subject); in pkcs7_extract_cert() 406 pr_debug("- fingerprint %*phN\n", x509->id->len, x509->id->data); in pkcs7_extract_cert() 408 *ctx->ppcerts = x509; in pkcs7_extract_cert() 409 ctx->ppcerts = &x509->next; in pkcs7_extract_cert()
|