mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
146aa8b145
Merge the type-specific data with the payload data into one four-word chunk as it seems pointless to keep them separate. Use user_key_payload() for accessing the payloads of overloaded user-defined keys. Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-cifs@vger.kernel.org cc: ecryptfs@vger.kernel.org cc: linux-ext4@vger.kernel.org cc: linux-f2fs-devel@lists.sourceforge.net cc: linux-nfs@vger.kernel.org cc: ceph-devel@vger.kernel.org cc: linux-ima-devel@lists.sourceforge.net
17 lines
622 B
C
17 lines
622 B
C
/* 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.
|
|
*/
|
|
|
|
extern struct asymmetric_key_id *asymmetric_key_hex_to_key_id(const char *id);
|
|
|
|
extern int __asymmetric_key_hex_to_key_id(const char *id,
|
|
struct asymmetric_key_id *match_id,
|
|
size_t hexlen);
|