aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/dh.h
diff options
context:
space:
mode:
authorDoug Hogan <[email protected]>2018-12-20 02:05:23 -0800
committerDoug Hogan <[email protected]>2018-12-20 02:30:46 -0800
commitc0e453b05f85a06a155decef4de7d2407a8d9cff (patch)
tree8852945961f38b039813278e9d5d45c5ea80ef51 /lib/crypto/c_src/dh.h
parentfcc39fb11f82f1e6540a85fb2a1295640397778e (diff)
downloadotp-c0e453b05f85a06a155decef4de7d2407a8d9cff.tar.gz
otp-c0e453b05f85a06a155decef4de7d2407a8d9cff.tar.bz2
otp-c0e453b05f85a06a155decef4de7d2407a8d9cff.zip
Move DH functionality to a new file
Diffstat (limited to 'lib/crypto/c_src/dh.h')
-rw-r--r--lib/crypto/c_src/dh.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/crypto/c_src/dh.h b/lib/crypto/c_src/dh.h
new file mode 100644
index 0000000000..ec1882624d
--- /dev/null
+++ b/lib/crypto/c_src/dh.h
@@ -0,0 +1,9 @@
+#ifndef E_DH_H__
+#define E_DH_H__ 1
+
+#include "common.h"
+
+ERL_NIF_TERM dh_generate_key_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+ERL_NIF_TERM dh_compute_key_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+
+#endif /* E_DH_H__ */