Searched refs:dest_keyring (Results 1 - 13 of 13) sorted by relevance

/linux-master/security/keys/
H A Drequest_key.c228 struct key *dest_keyring)
238 dest_keyring);
269 struct key *dest_keyring = *_dest_keyring, *authkey; local
272 kenter("%p", dest_keyring);
275 if (dest_keyring) {
277 key_get(dest_keyring);
292 dest_keyring =
293 key_get(rka->dest_keyring);
295 if (dest_keyring) {
303 dest_keyring
226 construct_key(struct key *key, const void *callout_info, size_t callout_len, void *aux, struct key *dest_keyring) argument
369 construct_alloc_key(struct keyring_search_context *ctx, struct key *dest_keyring, unsigned long flags, struct key_user *user, struct key **_key) argument
489 construct_key_and_link(struct keyring_search_context *ctx, const char *callout_info, size_t callout_len, void *aux, struct key *dest_keyring, unsigned long flags) argument
574 request_key_and_link(struct key_type *type, const char *description, struct key_tag *domain_tag, const void *callout_info, size_t callout_len, void *aux, struct key *dest_keyring, unsigned long flags) argument
[all...]
H A Drequest_key_auth.c111 key_put(rka->dest_keyring);
163 struct key *dest_keyring)
211 rka->dest_keyring = key_get(dest_keyring);
161 request_key_auth_new(struct key *target, const char *op, const void *callout_info, size_t callout_len, struct key *dest_keyring) argument
H A Dkeyctl.c1139 *_dest_keyring = key_get(rka->dest_keyring);
1178 struct key *instkey, *dest_keyring; local
1219 ret = get_instantiation_keyring(ringid, rka, &dest_keyring);
1225 dest_keyring, instkey);
1227 key_put(dest_keyring);
1339 struct key *instkey, *dest_keyring; local
1366 ret = get_instantiation_keyring(ringid, rka, &dest_keyring);
1372 dest_keyring, instkey);
1374 key_put(dest_keyring);
H A Dinternal.h156 struct key *dest_keyring,
210 struct key *dest_keyring);
H A Dprocess_keys.c735 key = rka->dest_keyring;
H A Dkeyring.c997 static bool keyring_detect_restriction_cycle(const struct key *dest_keyring, argument
1002 if (keyres->key == dest_keyring)
/linux-master/include/crypto/
H 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, argument
95 static inline int restrict_link_by_digsig(struct key *dest_keyring, argument
/linux-master/include/keys/
H A Drequest_key_auth-type.h19 struct key *dest_keyring; member in struct:request_key_auth
H A Dsystem_keyring.h26 int restrict_link_by_digsig_builtin(struct key *dest_keyring,
64 struct key *dest_keyring,
/linux-master/certs/
H A Dsystem_keyring.c37 * @dest_keyring: Keyring being linked to.
45 int restrict_link_by_builtin_trusted(struct key *dest_keyring, argument
50 return restrict_link_by_signature(dest_keyring, type, payload,
56 * @dest_keyring: Keyring being linked to.
65 int restrict_link_by_digsig_builtin(struct key *dest_keyring, argument
70 return restrict_link_by_digsig(dest_keyring, type, payload,
78 * @dest_keyring: Keyring being linked to.
88 struct key *dest_keyring,
97 dest_keyring == secondary_trusted_keys &&
102 return restrict_link_by_signature(dest_keyring, typ
87 restrict_link_by_builtin_and_secondary_trusted( struct key *dest_keyring, const struct key_type *type, const union key_payload *payload, struct key *restrict_key) argument
117 restrict_link_by_digsig_builtin_and_secondary(struct key *dest_keyring, const struct key_type *type, const union key_payload *payload, struct key *restrict_key) argument
206 restrict_link_by_builtin_secondary_and_machine( struct key *dest_keyring, const struct key_type *type, const union key_payload *payload, struct key *restrict_key) argument
[all...]
H A Dblacklist.c301 static int restrict_link_for_blacklist(struct key *dest_keyring, argument
/linux-master/crypto/asymmetric_keys/
H A Drestrict.c55 * @dest_keyring: Keyring being linked to.
70 int restrict_link_by_signature(struct key *dest_keyring, argument
106 !strcmp(dest_keyring->description, ".secondary_trusted_keys") &&
117 * @dest_keyring: Keyring being linked to.
130 int restrict_link_by_ca(struct key *dest_keyring, argument
157 * @dest_keyring: Keyring being linked to.
171 int restrict_link_by_digsig(struct key *dest_keyring, argument
195 return restrict_link_by_signature(dest_keyring, type, payload,
206 static int key_or_keyring_common(struct key *dest_keyring, argument
217 if (!dest_keyring)
328 restrict_link_by_key_or_keyring(struct key *dest_keyring, const struct key_type *type, const union key_payload *payload, struct key *trusted) argument
356 restrict_link_by_key_or_keyring_chain(struct key *dest_keyring, const struct key_type *type, const union key_payload *payload, struct key *trusted) argument
[all...]
/linux-master/include/linux/
H A Dkey.h171 typedef int (*key_restrict_link_func_t)(struct key *dest_keyring,

Completed in 146 milliseconds