Lines Matching full:subject
22 struct cert_source *matched_cert_search(struct rb_root *root, const char *subject, const char *issu… in matched_cert_search() argument
28 int result = strcmp(subject, cur_cert->subject); in matched_cert_search()
50 struct cert_source *cert_chain_search(struct rb_root *root, const char *subject, const char *issuer… in cert_chain_search() argument
53 return matched_cert_search(root, subject, issuer); in cert_chain_search()
56 struct cert_source *matched_cert = matched_cert_search(root, subject, issuer); in cert_chain_search()
62 struct cert_source *find_match(const char *subject, const char *issuer, bool is_dev) in find_match() argument
65 return cert_chain_search(&dev_cert_chain_tree, subject, issuer, false); in find_match()
67 return cert_chain_search(&cert_chain_tree, subject, issuer, false); in find_match()
110 int result = strcmp(cert->subject, this->subject); in cert_chain_insert()
136 code_sign_log_info("add trusted cert: subject = '%s', issuer = '%s', max_path_depth = %d", in cert_chain_insert()
137 cert->subject, cert->issuer, cert->max_path_depth); in cert_chain_insert()
146 struct cert_source *matched_cert = cert_chain_search(root, cert->subject, cert->issuer, true); in cert_chain_remove()
160 code_sign_log_info("remove trusted cert: subject = '%s', issuer = '%s', max_path_depth = %d", in cert_chain_remove()
161 cert->subject, cert->issuer, cert->max_path_depth); in cert_chain_remove()
222 code_sign_log_error("invalid path len or subject or issuer"); in parse_cert_source()
227 source->subject = kzalloc(info.signing_length + 1, GFP_KERNEL); in parse_cert_source()
228 if (!source->subject) { in parse_cert_source()
233 if (copy_from_user(source->subject, u64_to_user_ptr(info.signing_ptr), info.signing_length)) { in parse_cert_source()
261 kfree(source->subject); in parse_cert_source()