Home
last modified time | relevance | path

Searched refs:key (Results 1 – 6 of 6) sorted by relevance

/certs/
Dcommon.c9 const struct key *keyring) in load_certificate_list()
11 key_ref_t key; in load_certificate_list() local
31 key = key_create_or_update(make_key_ref(keyring, 1), in load_certificate_list()
41 if (IS_ERR(key)) { in load_certificate_list()
43 PTR_ERR(key)); in load_certificate_list()
46 key_ref_to_ptr(key)->description); in load_certificate_list()
47 key_ref_put(key); in load_certificate_list()
Dblacklist.c21 static struct key *blacklist_keyring;
71 static void blacklist_describe(const struct key *key, struct seq_file *m) in blacklist_describe() argument
73 seq_puts(m, key->description); in blacklist_describe()
91 key_ref_t key; in mark_hash_blacklisted() local
93 key = key_create_or_update(make_key_ref(blacklist_keyring, true), in mark_hash_blacklisted()
102 if (IS_ERR(key)) { in mark_hash_blacklisted()
103 pr_err("Problem blacklisting hash (%ld)\n", PTR_ERR(key)); in mark_hash_blacklisted()
104 return PTR_ERR(key); in mark_hash_blacklisted()
161 key_ref_t key; in add_key_to_revocation_list() local
163 key = key_create_or_update(make_key_ref(blacklist_keyring, true), in add_key_to_revocation_list()
[all …]
Dsystem_keyring.c20 static struct key *builtin_trusted_keys;
22 static struct key *secondary_trusted_keys;
25 static struct key *platform_trusted_keys;
37 int restrict_link_by_builtin_trusted(struct key *dest_keyring, in restrict_link_by_builtin_trusted()
40 struct key *restriction_key) in restrict_link_by_builtin_trusted()
56 struct key *dest_keyring, in restrict_link_by_builtin_and_secondary_trusted()
59 struct key *restrict_key) in restrict_link_by_builtin_and_secondary_trusted()
162 struct key *trusted_keys, in verify_pkcs7_message_sig()
247 struct key *trusted_keys, in verify_pkcs7_signature()
273 void __init set_platform_trusted_keys(struct key *keyring) in set_platform_trusted_keys()
Dcommon.h7 const struct key *keyring);
DKconfig5 string "File name or PKCS#11 URI of module signing key"
9 Provide the file name of a private key/certificate in PEM format,
12 private key.
15 then the kernel will automatically generate the private key and
25 by the kernel from compiled-in data and from hardware key stores, but
65 those keys are not blacklisted and are vouched for by a key built
75 of modules signed with a blacklisted key.
DMakefile82 @$(kecho) Generating X.509 key generation config