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 12*9eb02989SDavid Howells #include <keys/asymmetric-type.h> 13*9eb02989SDavid 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