|author||David Howells <email@example.com>||2012-09-13 15:17:21 +0100|
|committer||Rusty Russell <firstname.lastname@example.org>||2012-10-08 13:50:12 +1030|
KEYS: Implement asymmetric key type
Create a key type that can be used to represent an asymmetric key type for use in appropriate cryptographic operations, such as encryption, decryption, signature generation and signature verification. The key type is "asymmetric" and can provide access to a variety of cryptographic algorithms. Possibly, this would be better as "public_key" - but that has the disadvantage that "public key" is an overloaded term. Signed-off-by: David Howells <email@example.com> Signed-off-by: Rusty Russell <firstname.lastname@example.org>
Diffstat (limited to 'include/keys/asymmetric-type.h')
1 files changed, 25 insertions, 0 deletions
diff --git a/include/keys/asymmetric-type.h b/include/keys/asymmetric-type.h
new file mode 100644
@@ -0,0 +1,25 @@
+/* Asymmetric Public-key cryptography key type interface
+ * See Documentation/security/asymmetric-keys.txt
+ * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells (email@example.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 key_type key_type_asymmetric;
+ * The payload is at the discretion of the subtype.
+#endif /* _KEYS_ASYMMETRIC_TYPE_H */