aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/eddsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/c_src/eddsa.h')
-rw-r--r--lib/crypto/c_src/eddsa.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/crypto/c_src/eddsa.h b/lib/crypto/c_src/eddsa.h
new file mode 100644
index 0000000000..d24d25613f
--- /dev/null
+++ b/lib/crypto/c_src/eddsa.h
@@ -0,0 +1,10 @@
+#ifndef E_EDDSA_H__
+#define E_EDDSA_H__ 1
+
+#include "common.h"
+
+#ifdef HAVE_EDDSA
+int get_eddsa_key(ErlNifEnv* env, int public, ERL_NIF_TERM key, EVP_PKEY **pkey);
+#endif
+
+#endif /* E_EDDSA_H__ */