2012-09-13 22:17:21 +08:00
|
|
|
/* Internal definitions for asymmetric key type
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
|
|
|
|
* Written by David Howells (dhowells@redhat.com)
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public Licence
|
|
|
|
* as published by the Free Software Foundation; either version
|
|
|
|
* 2 of the Licence, or (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
2016-04-06 23:14:25 +08:00
|
|
|
#include <keys/asymmetric-type.h>
|
|
|
|
|
2014-09-17 00:36:11 +08:00
|
|
|
extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
|
2014-06-17 16:56:57 +08:00
|
|
|
|
2015-02-11 20:33:34 +08:00
|
|
|
extern int __asymmetric_key_hex_to_key_id(const char *id,
|
|
|
|
struct asymmetric_key_id *match_id,
|
|
|
|
size_t hexlen);
|
2018-10-10 00:47:07 +08:00
|
|
|
|
|
|
|
extern int asymmetric_key_eds_op(struct kernel_pkey_params *params,
|
|
|
|
const void *in, void *out);
|