Lines Matching defs:keyring
2 /* System trusted keyring for trusted public keys
36 * restrict_link_by_builtin_trusted - Restrict keyring addition by built-in CA
42 * Restrict the addition of keys into a keyring based on the key-to-be-added
43 * being vouched for by a key in the built in system keyring.
55 * restrict_link_by_digsig_builtin - Restrict digitalSignature key additions by the built-in keyring
61 * Restrict the addition of keys into a keyring based on the key-to-be-added
62 * being vouched for by a key in the built in system keyring. The new key
76 * restrict_link_by_builtin_and_secondary_trusted - Restrict keyring
83 * Restrict the addition of keys into a keyring based on the key-to-be-added
93 /* If we have a secondary trusted keyring, then that contains a link
94 * through to the builtin keyring and the search will follow that link.
99 /* Allow the builtin keyring to be added to the secondary */
113 * Restrict the addition of keys into a keyring based on the key-to-be-added
122 /* If we have a secondary trusted keyring, then that contains a link
123 * through to the builtin keyring and the search will follow that link.
128 /* Allow the builtin keyring to be added to the secondary */
137 * keyring. Only for use in system_trusted_keyring_init().
146 panic("Can't allocate secondary trusted keyring restriction\n");
157 * add_to_secondary_keyring - Add to secondary keyring.
162 * Add a key to the secondary keyring. The key must be vouched for by a key in the builtin,
163 * machine or secondary keyring itself.
177 pr_err("Problem loading X.509 certificate from %s to secondary keyring %ld\n",
187 void __init set_machine_trusted_keys(struct key *keyring)
189 machine_trusted_keys = keyring;
196 * restrict_link_by_builtin_secondary_and_machine - Restrict keyring addition.
202 * Restrict the addition of keys into a keyring based on the key-to-be-added
215 /* Allow the machine keyring to be added to the secondary */
238 panic("Can't allocate builtin trusted keyring\n");
251 panic("Can't allocate secondary trusted keyring\n");
261 * Must be initialised before we try and load the keys into the keyring.
265 __init int load_module_cert(struct key *keyring)
273 module_cert_size, keyring);
355 pr_devel("PKCS#7 platform keyring is not available\n");
424 void __init set_platform_trusted_keys(struct key *keyring)
426 platform_trusted_keys = keyring;