| /Linux-v5.4/security/keys/ |
| D | request_key.c | 225 struct key *dest_keyring) in construct_key() argument 235 dest_keyring); in construct_key() 266 struct key *dest_keyring = *_dest_keyring, *authkey; in construct_get_dest_keyring() local 269 kenter("%p", dest_keyring); in construct_get_dest_keyring() 272 if (dest_keyring) { in construct_get_dest_keyring() 274 key_get(dest_keyring); in construct_get_dest_keyring() 289 dest_keyring = in construct_get_dest_keyring() 290 key_get(rka->dest_keyring); in construct_get_dest_keyring() 292 if (dest_keyring) { in construct_get_dest_keyring() 300 dest_keyring = key_get(cred->thread_keyring); in construct_get_dest_keyring() [all …]
|
| D | request_key_auth.c | 112 key_put(rka->dest_keyring); in free_request_key_auth() 164 struct key *dest_keyring) in request_key_auth_new() argument 212 rka->dest_keyring = key_get(dest_keyring); in request_key_auth_new()
|
| D | keyctl.c | 1063 *_dest_keyring = key_get(rka->dest_keyring); in get_instantiation_keyring() 1102 struct key *instkey, *dest_keyring; in keyctl_instantiate_key_common() local 1143 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_instantiate_key_common() 1149 dest_keyring, instkey); in keyctl_instantiate_key_common() 1151 key_put(dest_keyring); in keyctl_instantiate_key_common() 1267 struct key *instkey, *dest_keyring; in keyctl_reject_key() local 1294 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_reject_key() 1300 dest_keyring, instkey); in keyctl_reject_key() 1302 key_put(dest_keyring); in keyctl_reject_key()
|
| D | internal.h | 159 struct key *dest_keyring, 197 struct key *dest_keyring);
|
| D | keyring.c | 1001 static bool keyring_detect_restriction_cycle(const struct key *dest_keyring, in keyring_detect_restriction_cycle() argument 1006 if (keyres->key == dest_keyring) in keyring_detect_restriction_cycle()
|
| D | process_keys.c | 735 key = rka->dest_keyring; in lookup_user_key()
|
| /Linux-v5.4/crypto/asymmetric_keys/ |
| D | restrict.c | 70 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() 195 key = find_asymmetric_key(dest_keyring, sig->auth_ids[0], in key_or_keyring_common() 230 int restrict_link_by_key_or_keyring(struct key *dest_keyring, in restrict_link_by_key_or_keyring() argument 235 return key_or_keyring_common(dest_keyring, type, payload, trusted, in restrict_link_by_key_or_keyring() 257 int restrict_link_by_key_or_keyring_chain(struct key *dest_keyring, in restrict_link_by_key_or_keyring_chain() argument 262 return key_or_keyring_common(dest_keyring, type, payload, trusted, in restrict_link_by_key_or_keyring_chain()
|
| /Linux-v5.4/certs/ |
| D | system_keyring.c | 36 int restrict_link_by_builtin_trusted(struct key *dest_keyring, in restrict_link_by_builtin_trusted() argument 41 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_trusted() 55 struct key *dest_keyring, in restrict_link_by_builtin_and_secondary_trusted() argument 64 dest_keyring == secondary_trusted_keys && in restrict_link_by_builtin_and_secondary_trusted() 69 return restrict_link_by_signature(dest_keyring, type, payload, in restrict_link_by_builtin_and_secondary_trusted()
|
| /Linux-v5.4/include/crypto/ |
| D | public_key.h | 57 extern int restrict_link_by_signature(struct key *dest_keyring, 62 extern int restrict_link_by_key_or_keyring(struct key *dest_keyring,
|
| /Linux-v5.4/include/keys/ |
| D | request_key_auth-type.h | 19 struct key *dest_keyring; member
|
| /Linux-v5.4/include/linux/ |
| D | key.h | 148 typedef int (*key_restrict_link_func_t)(struct key *dest_keyring,
|
| /Linux-v5.4/Documentation/security/keys/ |
| D | request-key.rst | 43 key_serial_t dest_keyring);
|
| D | core.rst | 425 key_serial_t dest_keyring); 621 key_serial_t dest_keyring);
|