2019-05-20 20:08:01 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2012-09-13 18:17:21 +04:00
|
|
|
/* Internal definitions for asymmetric key type
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
|
|
|
|
* Written by David Howells (dhowells@redhat.com)
|
|
|
|
*/
|
|
|
|
|
2016-04-06 18:14:25 +03:00
|
|
|
#include <keys/asymmetric-type.h>
|
|
|
|
|
2014-09-16 20:36:11 +04:00
|
|
|
extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
|
2014-06-17 12:56:57 +04:00
|
|
|
|
2015-02-11 15:33:34 +03:00
|
|
|
extern int __asymmetric_key_hex_to_key_id(const char *id,
|
|
|
|
struct asymmetric_key_id *match_id,
|
|
|
|
size_t hexlen);
|
2018-10-09 19:47:07 +03:00
|
|
|
|
|
|
|
extern int asymmetric_key_eds_op(struct kernel_pkey_params *params,
|
|
|
|
const void *in, void *out);
|