Thomas Gleixner | b4d0d23 | 2019-05-20 19:08:01 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
David Howells | 964f3b3 | 2012-09-13 15:17:21 +0100 | [diff] [blame] | 2 | /* 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 Howells | 964f3b3 | 2012-09-13 15:17:21 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
David Howells | 9eb0298 | 2016-04-06 16:14:25 +0100 | [diff] [blame] | 8 | #include <keys/asymmetric-type.h> |
| 9 | |
David Howells | 7901c1a | 2014-09-16 17:36:11 +0100 | [diff] [blame] | 10 | extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id); |
Dmitry Kasatkin | b342682 | 2014-06-17 11:56:57 +0300 | [diff] [blame] | 11 | |
Mimi Zohar | f2b3dee | 2015-02-11 07:33:34 -0500 | [diff] [blame] | 12 | extern int __asymmetric_key_hex_to_key_id(const char *id, |
| 13 | struct asymmetric_key_id *match_id, |
| 14 | size_t hexlen); |
David Howells | 5a30771 | 2018-10-09 17:47:07 +0100 | [diff] [blame] | 15 | |
| 16 | extern int asymmetric_key_eds_op(struct kernel_pkey_params *params, |
| 17 | const void *in, void *out); |