Home
last modified time | relevance | path

Searched refs:dest_keyring (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/security/keys/
A Drequest_key.c272 if (dest_keyring) { in construct_get_dest_keyring()
289 dest_keyring = in construct_get_dest_keyring()
301 if (dest_keyring) in construct_get_dest_keyring()
307 if (dest_keyring) in construct_get_dest_keyring()
314 if (dest_keyring) in construct_get_dest_keyring()
400 if (dest_keyring) { in construct_alloc_key()
420 if (dest_keyring) in construct_alloc_key()
424 if (dest_keyring) in construct_alloc_key()
437 if (dest_keyring) { in construct_alloc_key()
606 if (dest_keyring) { in request_key_and_link()
[all …]
A Drequest_key_auth.c111 key_put(rka->dest_keyring); in free_request_key_auth()
163 struct key *dest_keyring) in request_key_auth_new() argument
211 rka->dest_keyring = key_get(dest_keyring); in request_key_auth_new()
A Dkeyctl.c1134 *_dest_keyring = key_get(rka->dest_keyring); in get_instantiation_keyring()
1173 struct key *instkey, *dest_keyring; in keyctl_instantiate_key_common() local
1214 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_instantiate_key_common()
1220 dest_keyring, instkey); in keyctl_instantiate_key_common()
1222 key_put(dest_keyring); in keyctl_instantiate_key_common()
1335 struct key *instkey, *dest_keyring; in keyctl_reject_key() local
1362 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_reject_key()
1368 dest_keyring, instkey); in keyctl_reject_key()
1370 key_put(dest_keyring); in keyctl_reject_key()
A Dinternal.h163 struct key *dest_keyring,
216 struct key *dest_keyring);
A Dkeyring.c997 static bool keyring_detect_restriction_cycle(const struct key *dest_keyring, in keyring_detect_restriction_cycle() argument
1002 if (keyres->key == dest_keyring) in keyring_detect_restriction_cycle()
A Dprocess_keys.c735 key = rka->dest_keyring; in lookup_user_key()
/linux-6.3-rc2/crypto/asymmetric_keys/
A Drestrict.c70 int restrict_link_by_signature(struct key *dest_keyring, in restrict_link_by_signature() argument
118 static int key_or_keyring_common(struct key *dest_keyring, in key_or_keyring_common() argument
129 if (!dest_keyring) in key_or_keyring_common()
131 else if (dest_keyring->type != &key_type_keyring) in key_or_keyring_common()
204 key = find_asymmetric_key(dest_keyring, sig->auth_ids[0], in key_or_keyring_common()
240 int restrict_link_by_key_or_keyring(struct key *dest_keyring, in restrict_link_by_key_or_keyring() argument
245 return key_or_keyring_common(dest_keyring, type, payload, trusted, in restrict_link_by_key_or_keyring()
268 int restrict_link_by_key_or_keyring_chain(struct key *dest_keyring, in restrict_link_by_key_or_keyring_chain() argument
273 return key_or_keyring_common(dest_keyring, type, payload, trusted, in restrict_link_by_key_or_keyring_chain()
/linux-6.3-rc2/certs/
A Dsystem_keyring.c41 int restrict_link_by_builtin_trusted(struct key *dest_keyring, in restrict_link_by_builtin_trusted() argument
46 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_trusted()
60 struct key *dest_keyring, in restrict_link_by_builtin_and_secondary_trusted() argument
69 dest_keyring == secondary_trusted_keys && in restrict_link_by_builtin_and_secondary_trusted()
74 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_and_secondary_trusted()
120 struct key *dest_keyring, in restrict_link_by_builtin_secondary_and_machine() argument
126 dest_keyring == secondary_trusted_keys && in restrict_link_by_builtin_secondary_and_machine()
131 return restrict_link_by_builtin_and_secondary_trusted(dest_keyring, type, in restrict_link_by_builtin_secondary_and_machine()
A Dblacklist.c301 static int restrict_link_for_blacklist(struct key *dest_keyring, in restrict_link_for_blacklist() argument
/linux-6.3-rc2/include/crypto/
A Dpublic_key.h59 extern int restrict_link_by_signature(struct key *dest_keyring,
64 extern int restrict_link_by_key_or_keyring(struct key *dest_keyring,
/linux-6.3-rc2/include/keys/
A Drequest_key_auth-type.h19 struct key *dest_keyring; member
A Dsystem_keyring.h50 struct key *dest_keyring,
/linux-6.3-rc2/include/linux/
A Dkey.h171 typedef int (*key_restrict_link_func_t)(struct key *dest_keyring,
/linux-6.3-rc2/Documentation/security/keys/
A Drequest-key.rst43 key_serial_t dest_keyring);
A Dcore.rst425 key_serial_t dest_keyring);
621 key_serial_t dest_keyring);

Completed in 22 milliseconds