xref: /linux/crypto/asymmetric_keys/asymmetric_keys.h (revision 5a30771832aab228e0863e414f9182f86797429e)
1964f3b3bSDavid Howells /* Internal definitions for asymmetric key type
2964f3b3bSDavid Howells  *
3964f3b3bSDavid Howells  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
4964f3b3bSDavid Howells  * Written by David Howells (dhowells@redhat.com)
5964f3b3bSDavid Howells  *
6964f3b3bSDavid Howells  * This program is free software; you can redistribute it and/or
7964f3b3bSDavid Howells  * modify it under the terms of the GNU General Public Licence
8964f3b3bSDavid Howells  * as published by the Free Software Foundation; either version
9964f3b3bSDavid Howells  * 2 of the Licence, or (at your option) any later version.
10964f3b3bSDavid Howells  */
11964f3b3bSDavid Howells 
129eb02989SDavid Howells #include <keys/asymmetric-type.h>
139eb02989SDavid Howells 
147901c1a8SDavid Howells extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
15b3426827SDmitry Kasatkin 
16f2b3dee4SMimi Zohar extern int __asymmetric_key_hex_to_key_id(const char *id,
17f2b3dee4SMimi Zohar 					  struct asymmetric_key_id *match_id,
18f2b3dee4SMimi Zohar 					  size_t hexlen);
19*5a307718SDavid Howells 
20*5a307718SDavid Howells extern int asymmetric_key_eds_op(struct kernel_pkey_params *params,
21*5a307718SDavid Howells 				 const void *in, void *out);
22