blob: dc854cb737fb5b2ce4b65943e50879af6702851a [file] [log] [blame]
Thomas Gleixnerb4d0d232019-05-20 19:08:01 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
David Howells964f3b32012-09-13 15:17:21 +01002/* Internal definitions for asymmetric key type
3 *
4 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
David Howells964f3b32012-09-13 15:17:21 +01006 */
7
David Howells9eb02982016-04-06 16:14:25 +01008#include <keys/asymmetric-type.h>
9
David Howells7901c1a2014-09-16 17:36:11 +010010extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
Dmitry Kasatkinb3426822014-06-17 11:56:57 +030011
Mimi Zoharf2b3dee2015-02-11 07:33:34 -050012extern int __asymmetric_key_hex_to_key_id(const char *id,
13 struct asymmetric_key_id *match_id,
14 size_t hexlen);
David Howells5a307712018-10-09 17:47:07 +010015
16extern int asymmetric_key_eds_op(struct kernel_pkey_params *params,
17 const void *in, void *out);