]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - crypto/asymmetric_keys/asymmetric_keys.h
Merge tag 'pwm/for-3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[mirror_ubuntu-zesty-kernel.git] / crypto / asymmetric_keys / asymmetric_keys.h
CommitLineData
964f3b3b
DH
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
7901c1a8 12extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
b3426827 13
46963b77
DH
14static inline
15const struct asymmetric_key_ids *asymmetric_key_ids(const struct key *key)
964f3b3b
DH
16{
17 return key->type_data.p[1];
18}