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