/Linux-v4.19/security/keys/ |
D | request_key.c | 206 struct key *dest_keyring) in construct_key() argument 221 dest_keyring); in construct_key() 258 struct key *dest_keyring = *_dest_keyring, *authkey; in construct_get_dest_keyring() local 261 kenter("%p", dest_keyring); in construct_get_dest_keyring() 264 if (dest_keyring) { in construct_get_dest_keyring() 266 key_get(dest_keyring); in construct_get_dest_keyring() 281 dest_keyring = in construct_get_dest_keyring() 282 key_get(rka->dest_keyring); in construct_get_dest_keyring() 284 if (dest_keyring) { in construct_get_dest_keyring() 291 dest_keyring = key_get(cred->thread_keyring); in construct_get_dest_keyring() [all …]
|
D | request_key_auth.c | 128 key_put(rka->dest_keyring); in free_request_key_auth() 152 size_t callout_len, struct key *dest_keyring) in request_key_auth_new() argument 199 rka->dest_keyring = key_get(dest_keyring); in request_key_auth_new()
|
D | internal.h | 156 struct key *dest_keyring, 196 struct key *dest_keyring; member 207 struct key *dest_keyring);
|
D | keyctl.c | 1007 *_dest_keyring = key_get(rka->dest_keyring); in get_instantiation_keyring() 1046 struct key *instkey, *dest_keyring; in keyctl_instantiate_key_common() local 1087 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_instantiate_key_common() 1093 dest_keyring, instkey); in keyctl_instantiate_key_common() 1095 key_put(dest_keyring); in keyctl_instantiate_key_common() 1211 struct key *instkey, *dest_keyring; in keyctl_reject_key() local 1238 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_reject_key() 1244 dest_keyring, instkey); in keyctl_reject_key() 1246 key_put(dest_keyring); in keyctl_reject_key()
|
D | keyring.c | 964 static bool keyring_detect_restriction_cycle(const struct key *dest_keyring, in keyring_detect_restriction_cycle() argument 969 if (keyres->key == dest_keyring) in keyring_detect_restriction_cycle()
|
D | process_keys.c | 668 key = rka->dest_keyring; in lookup_user_key()
|
/Linux-v4.19/crypto/asymmetric_keys/ |
D | restrict.c | 74 int restrict_link_by_signature(struct key *dest_keyring, in restrict_link_by_signature() argument 122 static int key_or_keyring_common(struct key *dest_keyring, in key_or_keyring_common() argument 133 if (!dest_keyring) in key_or_keyring_common() 135 else if (dest_keyring->type != &key_type_keyring) in key_or_keyring_common() 199 key = find_asymmetric_key(dest_keyring, sig->auth_ids[0], in key_or_keyring_common() 234 int restrict_link_by_key_or_keyring(struct key *dest_keyring, in restrict_link_by_key_or_keyring() argument 239 return key_or_keyring_common(dest_keyring, type, payload, trusted, in restrict_link_by_key_or_keyring() 261 int restrict_link_by_key_or_keyring_chain(struct key *dest_keyring, in restrict_link_by_key_or_keyring_chain() argument 266 return key_or_keyring_common(dest_keyring, type, payload, trusted, in restrict_link_by_key_or_keyring_chain()
|
/Linux-v4.19/certs/ |
D | system_keyring.c | 37 int restrict_link_by_builtin_trusted(struct key *dest_keyring, in restrict_link_by_builtin_trusted() argument 42 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_trusted() 56 struct key *dest_keyring, in restrict_link_by_builtin_and_secondary_trusted() argument 65 dest_keyring == secondary_trusted_keys && in restrict_link_by_builtin_and_secondary_trusted() 70 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_and_secondary_trusted()
|
/Linux-v4.19/include/crypto/ |
D | public_key.h | 53 extern int restrict_link_by_signature(struct key *dest_keyring, 58 extern int restrict_link_by_key_or_keyring(struct key *dest_keyring,
|
/Linux-v4.19/include/linux/ |
D | key.h | 131 typedef int (*key_restrict_link_func_t)(struct key *dest_keyring,
|
/Linux-v4.19/Documentation/security/keys/ |
D | request-key.rst | 44 key_serial_t dest_keyring);
|
D | core.rst | 425 key_serial_t dest_keyring); 596 key_serial_t dest_keyring);
|