aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/aead.h
diff options
context:
space:
mode:
authorDoug Hogan <[email protected]>2018-12-20 02:08:19 -0800
committerDoug Hogan <[email protected]>2018-12-20 02:30:53 -0800
commit96e9de399c0b63538649641eb4adb0eaa19b7852 (patch)
tree553235245d2a06278d969f4298712c765c6ab17c /lib/crypto/c_src/aead.h
parenteab44e595a209e7e09d135cfcc92e94fd1b061c8 (diff)
downloadotp-96e9de399c0b63538649641eb4adb0eaa19b7852.tar.gz
otp-96e9de399c0b63538649641eb4adb0eaa19b7852.tar.bz2
otp-96e9de399c0b63538649641eb4adb0eaa19b7852.zip
Move AEAD functionality to a new file
Diffstat (limited to 'lib/crypto/c_src/aead.h')
-rw-r--r--lib/crypto/c_src/aead.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/crypto/c_src/aead.h b/lib/crypto/c_src/aead.h
new file mode 100644
index 0000000000..d68a1a97a5
--- /dev/null
+++ b/lib/crypto/c_src/aead.h
@@ -0,0 +1,9 @@
+#ifndef E_AEAD_H__
+#define E_AEAD_H__ 1
+
+#include "common.h"
+
+ERL_NIF_TERM aead_encrypt(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+ERL_NIF_TERM aead_decrypt(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+
+#endif /* E_AEAD_H__ */