Lines Matching refs:key
41 typedef int (*request_key_actor_t)(struct key *auth_key, void *aux);
51 bool (*cmp)(const struct key *key,
91 int (*instantiate)(struct key *key, struct key_preparsed_payload *prep);
98 int (*update)(struct key *key, struct key_preparsed_payload *prep);
113 void (*revoke)(struct key *key);
116 void (*destroy)(struct key *key);
119 void (*describe)(const struct key *key, struct seq_file *p);
128 long (*read)(const struct key *key, char *buffer, size_t buflen);
158 extern int key_payload_reserve(struct key *key, size_t datalen);
159 extern int key_instantiate_and_link(struct key *key,
162 struct key *keyring,
163 struct key *authkey);
164 extern int key_reject_and_link(struct key *key,
167 struct key *keyring,
168 struct key *authkey);
169 extern void complete_request_key(struct key *authkey, int error);
171 static inline int key_negate_and_link(struct key *key, in key_negate_and_link() argument
173 struct key *keyring, in key_negate_and_link()
174 struct key *authkey) in key_negate_and_link()
176 return key_reject_and_link(key, timeout, ENOKEY, keyring, authkey); in key_negate_and_link()
179 extern int generic_key_instantiate(struct key *key, struct key_preparsed_payload *prep);