Lines Matching full:trusted
62 * new certificate as being trusted.
65 * matching parent certificate in the trusted list, -EKEYREJECTED if the
121 struct key *trusted, bool check_dest) in key_or_keyring_common() argument
134 if (!trusted && !check_dest) in key_or_keyring_common()
146 if (trusted) { in key_or_keyring_common()
147 if (trusted->type == &key_type_keyring) { in key_or_keyring_common()
149 key = find_asymmetric_key(trusted, sig->auth_ids[0], in key_or_keyring_common()
153 } else if (trusted->type == &key_type_asymmetric) { in key_or_keyring_common()
156 signer_ids = asymmetric_key_ids(trusted); in key_or_keyring_common()
180 key = __key_get(trusted); in key_or_keyring_common()
186 key = __key_get(trusted); in key_or_keyring_common()
218 * @trusted: A key or ring of keys that can be used to vouch for the new cert.
225 * couldn't find a matching parent certificate in the trusted list,
233 struct key *trusted) in restrict_link_by_key_or_keyring() argument
235 return key_or_keyring_common(dest_keyring, type, payload, trusted, in restrict_link_by_key_or_keyring()
245 * @trusted: A key or ring of keys that can be used to vouch for the new cert.
253 * couldn't find a matching parent certificate in the trusted list,
261 struct key *trusted) in restrict_link_by_key_or_keyring_chain() argument
263 return key_or_keyring_common(dest_keyring, type, payload, trusted, in restrict_link_by_key_or_keyring_chain()