aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/aead.h
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-03-27 13:58:01 +0100
committerHans Nilsson <[email protected]>2019-04-05 12:41:46 +0200
commit344c3602bfdfc71670b80c9f9f9345b86e637989 (patch)
tree5c3ac950825f26a11047ecade3aa2154471dae88 /lib/crypto/c_src/aead.h
parentc0989dcede812c47290f1c61d39e46caa0edf547 (diff)
downloadotp-344c3602bfdfc71670b80c9f9f9345b86e637989.tar.gz
otp-344c3602bfdfc71670b80c9f9f9345b86e637989.tar.bz2
otp-344c3602bfdfc71670b80c9f9f9345b86e637989.zip
crypto: Misc C-changes,
error fixes, better error reporting (file and line), make aead more robust and like the _ng api.
Diffstat (limited to 'lib/crypto/c_src/aead.h')
-rw-r--r--lib/crypto/c_src/aead.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/crypto/c_src/aead.h b/lib/crypto/c_src/aead.h
index 54c0711535..2ec7a8a930 100644
--- a/lib/crypto/c_src/aead.h
+++ b/lib/crypto/c_src/aead.h
@@ -23,7 +23,6 @@
#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[]);
+ERL_NIF_TERM aead_cipher(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
#endif /* E_AEAD_H__ */