blob: 7be1ccf4fa9f2234c290e9bcffef773f176354aa [file] [log] [blame]
David Howells964f3b32012-09-13 15:17:21 +01001/* Internal definitions for asymmetric key type
2 *
3 * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
10 */
11
David Howells9eb02982016-04-06 16:14:25 +010012#include <keys/asymmetric-type.h>
13
David Howells7901c1a2014-09-16 17:36:11 +010014extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
Dmitry Kasatkinb3426822014-06-17 11:56:57 +030015
Mimi Zoharf2b3dee2015-02-11 07:33:34 -050016extern int __asymmetric_key_hex_to_key_id(const char *id,
17 struct asymmetric_key_id *match_id,
18 size_t hexlen);
David Howells5a307712018-10-09 17:47:07 +010019
20extern int asymmetric_key_eds_op(struct kernel_pkey_params *params,
21 const void *in, void *out);