aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/chacha20.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/c_src/chacha20.h')
-rw-r--r--lib/crypto/c_src/chacha20.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/crypto/c_src/chacha20.h b/lib/crypto/c_src/chacha20.h
new file mode 100644
index 0000000000..dc478cac4e
--- /dev/null
+++ b/lib/crypto/c_src/chacha20.h
@@ -0,0 +1,9 @@
+#ifndef E_CHACHA20_H__
+#define E_CHACHA20_H__ 1
+
+#include "common.h"
+
+ERL_NIF_TERM chacha20_stream_init(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+ERL_NIF_TERM chacha20_stream_crypt(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+
+#endif /* E_CHACHA20_H__ */