2019-05-27 00:55:01 -06:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-09-24 03:35:18 -06:00
|
|
|
/* Big capacity key type.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
|
|
|
|
* Written by David Howells (dhowells@redhat.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _KEYS_BIG_KEY_TYPE_H
|
|
|
|
#define _KEYS_BIG_KEY_TYPE_H
|
|
|
|
|
|
|
|
#include <linux/key-type.h>
|
|
|
|
|
|
|
|
extern struct key_type key_type_big_key;
|
|
|
|
|
2014-07-18 11:56:36 -06:00
|
|
|
extern int big_key_preparse(struct key_preparsed_payload *prep);
|
|
|
|
extern void big_key_free_preparse(struct key_preparsed_payload *prep);
|
2013-09-24 03:35:18 -06:00
|
|
|
extern void big_key_revoke(struct key *key);
|
|
|
|
extern void big_key_destroy(struct key *key);
|
|
|
|
extern void big_key_describe(const struct key *big_key, struct seq_file *m);
|
2020-03-21 19:11:24 -06:00
|
|
|
extern long big_key_read(const struct key *key, char *buffer, size_t buflen);
|
2020-05-12 07:03:53 -06:00
|
|
|
extern int big_key_update(struct key *key, struct key_preparsed_payload *prep);
|
2013-09-24 03:35:18 -06:00
|
|
|
|
|
|
|
#endif /* _KEYS_BIG_KEY_TYPE_H */
|