Loading...
1/* SPDX-License-Identifier: GPL-2.0-or-later */
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)
6 */
7
8#include <keys/asymmetric-type.h>
9
10extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
11
12extern int __asymmetric_key_hex_to_key_id(const char *id,
13 struct asymmetric_key_id *match_id,
14 size_t hexlen);
15
16extern int asymmetric_key_eds_op(struct kernel_pkey_params *params,
17 const void *in, void *out);
1/* 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
12#include <keys/asymmetric-type.h>
13
14extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
15
16extern int __asymmetric_key_hex_to_key_id(const char *id,
17 struct asymmetric_key_id *match_id,
18 size_t hexlen);