Lines Matching refs:key
42 typedef int (*request_key_actor_t)(struct key *auth_key, void *aux);
52 bool (*cmp)(const struct key *key,
96 int (*instantiate)(struct key *key, struct key_preparsed_payload *prep);
103 int (*update)(struct key *key, struct key_preparsed_payload *prep);
118 void (*revoke)(struct key *key);
121 void (*destroy)(struct key *key);
124 void (*describe)(const struct key *key, struct seq_file *p);
133 long (*read)(const struct key *key, char *buffer, size_t buflen);
174 extern int key_payload_reserve(struct key *key, size_t datalen);
175 extern int key_instantiate_and_link(struct key *key,
178 struct key *keyring,
179 struct key *authkey);
180 extern int key_reject_and_link(struct key *key,
183 struct key *keyring,
184 struct key *authkey);
185 extern void complete_request_key(struct key *authkey, int error);
187 static inline int key_negate_and_link(struct key *key, in key_negate_and_link() argument
189 struct key *keyring, in key_negate_and_link()
190 struct key *authkey) in key_negate_and_link()
192 return key_reject_and_link(key, timeout, ENOKEY, keyring, authkey); in key_negate_and_link()
195 extern int generic_key_instantiate(struct key *key, struct key_preparsed_payload *prep);