]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - crypto/asymmetric_keys/asymmetric_keys.h
Merge tag 'dropmachtimexh-v2' of git://git.pengutronix.de/git/ukl/linux
[mirror_ubuntu-jammy-kernel.git] / crypto / asymmetric_keys / asymmetric_keys.h
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
12 static inline const char *asymmetric_key_id(const struct key *key)
13 {
14 return key->type_data.p[1];
15 }