aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/rc4.h
diff options
context:
space:
mode:
authorDoug Hogan <[email protected]>2018-12-20 02:04:39 -0800
committerDoug Hogan <[email protected]>2018-12-20 02:30:38 -0800
commitfcc39fb11f82f1e6540a85fb2a1295640397778e (patch)
tree7919244b6c9a02afc63acffb6b01d12eb41d8373 /lib/crypto/c_src/rc4.h
parentb3da76c6bb4cf54e8453f05ea9ab37747e390d76 (diff)
downloadotp-fcc39fb11f82f1e6540a85fb2a1295640397778e.tar.gz
otp-fcc39fb11f82f1e6540a85fb2a1295640397778e.tar.bz2
otp-fcc39fb11f82f1e6540a85fb2a1295640397778e.zip
Move RC4 functionality to a new file
Also, move a FIPS check macro to the common openssl_config.h.
Diffstat (limited to 'lib/crypto/c_src/rc4.h')
-rw-r--r--lib/crypto/c_src/rc4.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/crypto/c_src/rc4.h b/lib/crypto/c_src/rc4.h
new file mode 100644
index 0000000000..23d0ae56dc
--- /dev/null
+++ b/lib/crypto/c_src/rc4.h
@@ -0,0 +1,9 @@
+#ifndef E_RC4_H__
+#define E_RC4_H__ 1
+
+#include "common.h"
+
+ERL_NIF_TERM rc4_set_key(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+ERL_NIF_TERM rc4_encrypt_with_state(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]);
+
+#endif /* E_RC4_H__ */