summaryrefslogtreecommitdiffstats
path: root/engines/ccgost/meth.h
diff options
context:
space:
mode:
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