Lines Matching refs:key
41 typedef int (*request_key_actor_t)(struct key *auth_key, void *aux);
51 bool (*cmp)(const struct key *key,
95 int (*instantiate)(struct key *key, struct key_preparsed_payload *prep);
102 int (*update)(struct key *key, struct key_preparsed_payload *prep);
117 void (*revoke)(struct key *key);
120 void (*destroy)(struct key *key);
123 void (*describe)(const struct key *key, struct seq_file *p);
132 long (*read)(const struct key *key, char *buffer, size_t buflen);
170 extern int key_payload_reserve(struct key *key, size_t datalen);
171 extern int key_instantiate_and_link(struct key *key,
174 struct key *keyring,
175 struct key *authkey);
176 extern int key_reject_and_link(struct key *key,
179 struct key *keyring,
180 struct key *authkey);
181 extern void complete_request_key(struct key *authkey, int error);
183 static inline int key_negate_and_link(struct key *key, in key_negate_and_link() argument
185 struct key *keyring, in key_negate_and_link()
186 struct key *authkey) in key_negate_and_link()
188 return key_reject_and_link(key, timeout, ENOKEY, keyring, authkey); in key_negate_and_link()
191 extern int generic_key_instantiate(struct key *key, struct key_preparsed_payload *prep);