Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / include / keys / big_key-type.h
blob988d90d77f539a100313909c8b0bca655d54a573
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* Big capacity key type.
4 * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
6 */
8 #ifndef _KEYS_BIG_KEY_TYPE_H
9 #define _KEYS_BIG_KEY_TYPE_H
11 #include <linux/key-type.h>
13 extern struct key_type key_type_big_key;
15 extern int big_key_preparse(struct key_preparsed_payload *prep);
16 extern void big_key_free_preparse(struct key_preparsed_payload *prep);
17 extern void big_key_revoke(struct key *key);
18 extern void big_key_destroy(struct key *key);
19 extern void big_key_describe(const struct key *big_key, struct seq_file *m);
20 extern long big_key_read(const struct key *key, char *buffer, size_t buflen);
21 extern int big_key_update(struct key *key, struct key_preparsed_payload *prep);
23 #endif /* _KEYS_BIG_KEY_TYPE_H */