xref: /linux/crypto/asymmetric_keys/asymmetric_keys.h (revision 58e16d792a6a8c6b750f637a4649967fcac853dc)
1*b4d0d230SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2964f3b3bSDavid Howells /* Internal definitions for asymmetric key type
3964f3b3bSDavid Howells  *
4964f3b3bSDavid Howells  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
5964f3b3bSDavid Howells  * Written by David Howells (dhowells@redhat.com)
6964f3b3bSDavid Howells  */
7964f3b3bSDavid Howells 
89eb02989SDavid Howells #include <keys/asymmetric-type.h>
99eb02989SDavid Howells 
107901c1a8SDavid Howells extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
11b3426827SDmitry Kasatkin 
12f2b3dee4SMimi Zohar extern int __asymmetric_key_hex_to_key_id(const char *id,
13f2b3dee4SMimi Zohar 					  struct asymmetric_key_id *match_id,
14f2b3dee4SMimi Zohar 					  size_t hexlen);
155a307718SDavid Howells 
165a307718SDavid Howells extern int asymmetric_key_eds_op(struct kernel_pkey_params *params,
175a307718SDavid Howells 				 const void *in, void *out);
18