ttyprintk: Allow built as a module
[linux-2.6/btrfs-unstable.git] / include / keys / big_key-type.h
blobd69bc8af32920eb87f66c30611d10684bb822f18
1 /* Big capacity key type.
3 * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
12 #ifndef _KEYS_BIG_KEY_TYPE_H
13 #define _KEYS_BIG_KEY_TYPE_H
15 #include <linux/key-type.h>
17 extern struct key_type key_type_big_key;
19 extern int big_key_instantiate(struct key *key, struct key_preparsed_payload *prep);
20 extern void big_key_revoke(struct key *key);
21 extern void big_key_destroy(struct key *key);
22 extern void big_key_describe(const struct key *big_key, struct seq_file *m);
23 extern long big_key_read(const struct key *key, char __user *buffer, size_t buflen);
25 #endif /* _KEYS_BIG_KEY_TYPE_H */