David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [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) |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <keys/asymmetric-type.h> |
| 9 | |
| 10 | extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id); |
| 11 | |
| 12 | extern int __asymmetric_key_hex_to_key_id(const char *id, |
| 13 | struct asymmetric_key_id *match_id, |
| 14 | size_t hexlen); |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 15 | |
| 16 | extern int asymmetric_key_eds_op(struct kernel_pkey_params *params, |
| 17 | const void *in, void *out); |