diff options
author | Doug Hogan <[email protected]> | 2018-12-20 02:06:42 -0800 |
---|---|---|
committer | Doug Hogan <[email protected]> | 2018-12-20 02:30:50 -0800 |
commit | 49ff75ec58079c9c9061f81fc81361745f8d4988 (patch) | |
tree | 6b9c4eeafcdd8b6ab5f488546aeb5c87b380ddfe /lib/crypto/c_src/chacha20.h | |
parent | c1badd7ece51c37de814ea2b26f37be3f5fdf6df (diff) | |
download | otp-49ff75ec58079c9c9061f81fc81361745f8d4988.tar.gz otp-49ff75ec58079c9c9061f81fc81361745f8d4988.tar.bz2 otp-49ff75ec58079c9c9061f81fc81361745f8d4988.zip |
Move chacha20 functionality to a new file
Diffstat (limited to 'lib/crypto/c_src/chacha20.h')
-rw-r--r-- | lib/crypto/c_src/chacha20.h | 9 |
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__ */ |