Lines Matching full:subject
21 struct cert_source *matched_cert_search(struct rb_root *root, const char *subject, const char *issu… in matched_cert_search() argument
27 int result = strcmp(subject, cur_cert->subject); in matched_cert_search()
49 struct cert_source *cert_chain_search(struct rb_root *root, const char *subject, const char *issuer… in cert_chain_search() argument
52 return matched_cert_search(root, subject, issuer); in cert_chain_search()
55 struct cert_source *matched_cert = matched_cert_search(root, subject, issuer); in cert_chain_search()
61 struct cert_source *find_match(const char *subject, const char *issuer, bool is_dev) in find_match() argument
64 return cert_chain_search(&dev_cert_chain_tree, subject, issuer, false); in find_match()
66 return cert_chain_search(&cert_chain_tree, subject, issuer, false); in find_match()
106 int result = strcmp(cert->subject, this->subject); in cert_chain_insert()
132 code_sign_log_info("add trusted cert: subject = '%s', issuer = '%s', max_path_depth = %d", in cert_chain_insert()
133 cert->subject, cert->issuer, cert->max_path_depth); in cert_chain_insert()
142 struct cert_source *matched_cert = cert_chain_search(root, cert->subject, cert->issuer, true); in cert_chain_remove()
156 code_sign_log_info("remove trusted cert: subject = '%s', issuer = '%s', max_path_depth = %d", in cert_chain_remove()
157 cert->subject, cert->issuer, cert->max_path_depth); in cert_chain_remove()
211 code_sign_log_error("invalid path len or subject or issuer"); in parse_cert_source()
216 source->subject = kzalloc(info.signing_length + 1, GFP_KERNEL); in parse_cert_source()
217 if (!source->subject) { in parse_cert_source()
222 if (copy_from_user(source->subject, u64_to_user_ptr(info.signing_ptr), info.signing_length)) { in parse_cert_source()
250 kfree(source->subject); in parse_cert_source()