Lines Matching refs:key
88 extern int __key_link(struct key *keyring, struct key *key);
95 extern struct key *keyring_search_instkey(struct key *keyring,
98 typedef int (*key_match_func_t)(const struct key *, const void *);
111 extern struct key *find_keyring_by_name(const char *name, bool skip_perm_check);
117 extern struct key *request_key_and_link(struct key_type *type,
122 struct key *dest_keyring,
155 struct key *target_key;
156 struct key *dest_keyring;
164 extern struct key *request_key_auth_new(struct key *target,
167 struct key *dest_keyring);
169 extern struct key *key_get_instantiation_authkey(key_serial_t target_id);
200 extern void __key_check(const struct key *);
202 static inline void key_check(const struct key *key) in key_check() argument
204 if (key && (IS_ERR(key) || key->magic != KEY_DEBUG_MAGIC)) in key_check()
205 __key_check(key); in key_check()
210 #define key_check(key) do {} while(0) argument