summaryrefslogtreecommitdiffstats
path: root/engines/ccgost/meth.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-09-17 13:00:18 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-09-17 13:00:18 +0000
commita04549cc755408ff2dcab209fd87d3e46f7d662a (patch)
treee4778866a61dddb7fb9ef4465490ad48de919645 /engines/ccgost/meth.h
parentbc7535bc7fe30fbba222c316a3957da7d906603b (diff)
GOST public key algorithm ENGINE donated to the OpenSSL by Cryptocom.
Very early version, doesn't do much yet, not even added to the build system.
Diffstat (limited to 'engines/ccgost/meth.h')
-rw-r--r--engines/ccgost/meth.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/engines/ccgost/meth.h b/engines/ccgost/meth.h
new file mode 100644
index 0000000000..863046648c
--- /dev/null
+++ b/engines/ccgost/meth.h
@@ -0,0 +1,22 @@
+#ifndef CCE_METH_H
+#define CCE_METH_H
+/**********************************************************************
+ * meth.h *
+ * Copyright (c) 2005-2006 Cryptocom LTD *
+ * This file is distributed under the same license as OpenSSL *
+ * *
+ * Declaration of method registration functions *
+ * *
+ * Requires OpenSSL 0.9.9 for compilation *
+ **********************************************************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ int register_ameth_gost (int nid, EVP_PKEY_ASN1_METHOD **ameth, const char* pemstr, const char* info);
+ int register_pmeth_gost (int id, EVP_PKEY_METHOD **pmeth, int flags);
+#ifdef __cplusplus
+ };
+#endif
+
+#endif