Home
last modified time | relevance | path

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

/linux/security/keys/
A Drequest_key.c275 if (dest_keyring) { in construct_get_dest_keyring()
292 dest_keyring = in construct_get_dest_keyring()
304 if (dest_keyring) in construct_get_dest_keyring()
310 if (dest_keyring) in construct_get_dest_keyring()
317 if (dest_keyring) in construct_get_dest_keyring()
403 if (dest_keyring) { in construct_alloc_key()
427 if (dest_keyring) { in construct_alloc_key()
435 if (dest_keyring) in construct_alloc_key()
448 if (dest_keyring) { in construct_alloc_key()
622 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.c1140 *_dest_keyring = key_get(rka->dest_keyring); in get_instantiation_keyring()
1179 struct key *instkey, *dest_keyring; in keyctl_instantiate_key_common() local
1220 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_instantiate_key_common()
1226 dest_keyring, instkey); in keyctl_instantiate_key_common()
1228 key_put(dest_keyring); in keyctl_instantiate_key_common()
1340 struct key *instkey, *dest_keyring; in keyctl_reject_key() local
1367 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_reject_key()
1373 dest_keyring, instkey); in keyctl_reject_key()
1375 key_put(dest_keyring); in keyctl_reject_key()
A Dinternal.h156 struct key *dest_keyring,
210 struct key *dest_keyring);
A Dkeyring.c1000 static bool keyring_detect_restriction_cycle(const struct key *dest_keyring, in keyring_detect_restriction_cycle() argument
1005 if (keyres->key == dest_keyring) in keyring_detect_restriction_cycle()
A Dprocess_keys.c735 key = rka->dest_keyring; in lookup_user_key()
/linux/crypto/asymmetric_keys/
A Drestrict.c70 int restrict_link_by_signature(struct key *dest_keyring, in restrict_link_by_signature() argument
106 !strcmp(dest_keyring->description, ".secondary_trusted_keys") && in restrict_link_by_signature()
130 int restrict_link_by_ca(struct key *dest_keyring, in restrict_link_by_ca() argument
171 int restrict_link_by_digsig(struct key *dest_keyring, in restrict_link_by_digsig() argument
195 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_digsig()
206 static int key_or_keyring_common(struct key *dest_keyring, in key_or_keyring_common() argument
217 if (!dest_keyring) in key_or_keyring_common()
219 else if (dest_keyring->type != &key_type_keyring) in key_or_keyring_common()
292 key = find_asymmetric_key(dest_keyring, sig->auth_ids[0], in key_or_keyring_common()
328 int restrict_link_by_key_or_keyring(struct key *dest_keyring, in restrict_link_by_key_or_keyring() argument
[all …]
/linux/certs/
A Dsystem_keyring.c45 int restrict_link_by_builtin_trusted(struct key *dest_keyring, in restrict_link_by_builtin_trusted() argument
50 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_trusted()
65 int restrict_link_by_digsig_builtin(struct key *dest_keyring, in restrict_link_by_digsig_builtin() argument
70 return restrict_link_by_digsig(dest_keyring, type, payload, in restrict_link_by_digsig_builtin()
88 struct key *dest_keyring, in restrict_link_by_builtin_and_secondary_trusted() argument
97 dest_keyring == secondary_trusted_keys && in restrict_link_by_builtin_and_secondary_trusted()
102 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_and_secondary_trusted()
126 dest_keyring == secondary_trusted_keys && in restrict_link_by_digsig_builtin_and_secondary()
131 return restrict_link_by_digsig(dest_keyring, type, payload, in restrict_link_by_digsig_builtin_and_secondary()
207 struct key *dest_keyring, in restrict_link_by_builtin_secondary_and_machine() argument
[all …]
A Dblacklist.c301 static int restrict_link_for_blacklist(struct key *dest_keyring, in restrict_link_for_blacklist() argument
/linux/include/crypto/
A Dpublic_key.h62 extern int restrict_link_by_signature(struct key *dest_keyring,
67 extern int restrict_link_by_key_or_keyring(struct key *dest_keyring,
78 extern int restrict_link_by_ca(struct key *dest_keyring,
82 int restrict_link_by_digsig(struct key *dest_keyring,
87 static inline int restrict_link_by_ca(struct key *dest_keyring, in restrict_link_by_ca() argument
95 static inline int restrict_link_by_digsig(struct key *dest_keyring, in restrict_link_by_digsig() argument
/linux/include/keys/
A Dsystem_keyring.h26 int restrict_link_by_digsig_builtin(struct key *dest_keyring,
64 struct key *dest_keyring,
A Drequest_key_auth-type.h19 struct key *dest_keyring; member
/linux/include/linux/
A Dkey.h171 typedef int (*key_restrict_link_func_t)(struct key *dest_keyring,
/linux/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 26 milliseconds