• Home
  • Raw
  • Download

Lines Matching refs:key

91 extern int __key_link_begin(struct key *keyring,
94 extern int __key_link_check_live_key(struct key *keyring, struct key *key);
95 extern void __key_link(struct key *key, struct assoc_array_edit **_edit);
96 extern void __key_link_end(struct key *keyring,
103 extern struct key *keyring_search_instkey(struct key *keyring,
106 extern int iterate_over_keyring(const struct key *keyring,
107 int (*func)(const struct key *key, void *data),
131 extern bool key_default_cmp(const struct key *key,
139 extern struct key *find_keyring_by_name(const char *name, bool uid_keyring);
144 extern int install_session_keyring_to_cred(struct cred *, struct key *);
146 extern struct key *request_key_and_link(struct key_type *type,
151 struct key *dest_keyring,
154 extern bool lookup_user_key_possessed(const struct key *key,
167 extern void keyring_gc(struct key *keyring, time_t limit);
188 struct key *target_key;
189 struct key *dest_keyring;
197 extern struct key *request_key_auth_new(struct key *target,
200 struct key *dest_keyring);
202 extern struct key *key_get_instantiation_authkey(key_serial_t target_id);
207 static inline bool key_is_dead(const struct key *key, time_t limit) in key_is_dead() argument
210 key->flags & ((1 << KEY_FLAG_DEAD) | in key_is_dead()
212 (key->expiry > 0 && key->expiry <= limit); in key_is_dead()
263 extern void __key_check(const struct key *);
265 static inline void key_check(const struct key *key) in key_check() argument
267 if (key && (IS_ERR(key) || key->magic != KEY_DEBUG_MAGIC)) in key_check()
268 __key_check(key); in key_check()
273 #define key_check(key) do {} while(0) argument