12 #ifndef _LINUX_KEY_TYPE_H
13 #define _LINUX_KEY_TYPE_H
16 #include <linux/errno.h>
24 struct key_construction {
41 struct key_preparsed_payload {
50 typedef int (*request_key_actor_t)(
struct key_construction *
key,
51 const char *
op,
void *
aux);
73 int (*preparse)(
struct key_preparsed_payload *prep);
77 void (*free_preparse)(
struct key_preparsed_payload *prep);
83 int (*instantiate)(
struct key *
key,
struct key_preparsed_payload *prep);
90 int (*
update)(
struct key *
key,
struct key_preparsed_payload *prep);
98 void (*revoke)(
struct key *
key);
140 struct key *instkey);
145 struct key *instkey);
148 static inline int key_negate_and_link(
struct key *key,